mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -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:
1 file changed
+2
-4
@@ -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