PKGBUILDs/alarm/cryptodev-dkms/cryptodev-dkms.install
2016-03-29 17:29:18 -06:00

15 lines
191 B
Text

post_install() {
dkms install cryptodev/${1%%-*}
}
pre_upgrade() {
pre_remove ${2%%-*}
}
post_upgrade() {
post_install ${1%%-*}
}
pre_remove() {
dkms remove cryptodev/${1%%-*} --all
}