From 2495bbba7913a697f3a7ec244114702886626bab Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 26 Aug 2018 16:21:13 -0300 Subject: [PATCH] kmod: fix absolute paths in INSTALL/REMOVE scripts --- srcpkgs/kmod/INSTALL | 2 +- srcpkgs/kmod/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/kmod/INSTALL b/srcpkgs/kmod/INSTALL index 26e326ef614..ee49f05479a 100644 --- a/srcpkgs/kmod/INSTALL +++ b/srcpkgs/kmod/INSTALL @@ -1,6 +1,6 @@ case "$ACTION" in 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 fi ;; diff --git a/srcpkgs/kmod/template b/srcpkgs/kmod/template index 4b42eb6fdf8..4813c6586f8 100644 --- a/srcpkgs/kmod/template +++ b/srcpkgs/kmod/template @@ -1,7 +1,7 @@ # Template file for 'kmod' pkgname=kmod version=25 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-zlib --with-xz" hostmakedepends="pkg-config"