This commit is contained in:
aliriza committed 2023-01-13 11:17:04 +00:00
1 parent 281f3c382a
commit 78b51d329a
1 file changed
+2 -2
+2 -2
View File
@@ -28,7 +28,7 @@ setup(){
autoreconf -fvi
./configure --prefix=/usr \
--libdir=/lib64/ \
--bindir=/bin
--bindir=/sbin
# remove xsltproc dependency
rm -f man/Makefile
echo -e "all:\ninstall:" > man/Makefile
@@ -42,7 +42,7 @@ package(){
make install -j`nproc`
mkdir -p ${DESTDIR}/usr/bin
for tool in {ins,ls,rm,dep}mod mod{probe,info}; do
ln -s ../../bin/kmod "${DESTDIR}/usr/bin/$tool"
ln -s kmod "${DESTDIR}/sbin/$tool"
done
}