Add displaylink

This commit is contained in:
moparisthebest
2016-12-16 08:42:01 -05:00
parent 123e9b72e6
commit 511a7a284d
13 changed files with 451 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
}