kmod: fix absolute paths in INSTALL/REMOVE scripts

This commit is contained in:
maxice8 2018-08-26 16:21:13 -03:00
parent af2bdf37c3
commit 2495bbba79
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
case "$ACTION" in case "$ACTION" in
post) post)
if [ -d usr/sbin -a ! -L /usr/sbin ]; then if [ -d usr/sbin -a ! -L usr/sbin ]; then
ln -sf ../bin/kmod usr/sbin/modprobe ln -sf ../bin/kmod usr/sbin/modprobe
fi fi
;; ;;

View file

@ -1,7 +1,7 @@
# Template file for 'kmod' # Template file for 'kmod'
pkgname=kmod pkgname=kmod
version=25 version=25
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-zlib --with-xz" configure_args="--with-zlib --with-xz"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"