mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sci-misc/ik_llama-cpp: install to /usr/bin
/usr/bin makes more sense than /usr/sbin. On merged-usr, /usr/sbin == /usr/bin anyways. Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -140,9 +140,7 @@ src_install() {
|
|||||||
|
|
||||||
# avoid clashing with whisper.cpp
|
# avoid clashing with whisper.cpp
|
||||||
rm -rf "${ED}/usr/include"
|
rm -rf "${ED}/usr/include"
|
||||||
mkdir -p "${ED}/usr/sbin"
|
for f in "${ED}"/usr/bin/*; do
|
||||||
for f in "${ED}"/usr/bin/llama-*; do
|
mv "$f" "${ED}/usr/bin/ik_$(basename $f)" || die
|
||||||
mv "$f" "${ED}/usr/sbin/ik_$(basename $f)" || die
|
|
||||||
done
|
done
|
||||||
rm -rf "${ED}/usr/bin"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user