diff options
author | Iacopo Isimbaldi | 2016-03-12 18:24:01 +0100 |
---|---|---|
committer | Iacopo Isimbaldi | 2016-03-12 18:49:38 +0100 |
commit | 95c0607c2c02113f7679777576ce19585757e3ad (patch) | |
tree | cef1d5c82a1a33221dabae665de04d4fdddc399b | |
parent | 4f8c05d4dcf9363108ba70086dfced382fc9637d (diff) | |
download | aur-95c0607c2c02113f7679777576ce19585757e3ad.tar.gz |
Updated "spl.install" to new dkms
-rw-r--r-- | spl.install | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/spl.install b/spl.install index cdf82a6e9b91..1438151a8136 100644 --- a/spl.install +++ b/spl.install @@ -1,26 +1,5 @@ post_install() { - dkms add spl/${1%%[_-]*} check_hostid - cat << EOF -==> To build and install your modules run: dkms install spl/${1%%[_-]*} -k [KERNEL] -==> To do this automatically at startup run: systemctl enable dkms.service -EOF -} - -pre_upgrade() { - if [ "${1%%[-_]*}" != "${2%%[-_]*}" ]; then - pre_remove "$2" - fi -} - -post_upgrade() { - if [ "${1%%[-_]*}" != "${2%%[-_]*}" ]; then - post_install "$1" - fi -} - -pre_remove() { - [ -n "${1%%[_-]*}" ] && dkms remove spl/${1%%[_-]*} --all -q || true } check_hostid() { |