Add some new packages

This commit is contained in:
moparisthebest
2017-08-27 13:02:19 -04:00
parent a155f07280
commit 6bf15b21eb
10 changed files with 501 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# old version (without -$pkgrel): ${1%%-*}
# new version (without -$pkgrel): ${2%%-*}
post_install() {
echo 'DKMS install...'
dkms install evdi/${1%%-*}
}
pre_upgrade() {
pre_remove ${2%%-*}
}
post_upgrade() {
post_install ${1%%-*}
}
pre_remove() {
echo 'DKMS remove...'
dkms remove evdi/${1%%-*} --all
}