PKGBUILDs/alarm/cryptodev-dkms/cryptodev-dkms.install

16 lines
191 B
Text
Raw Normal View History

2016-03-29 23:29:18 +00:00
post_install() {
dkms install cryptodev/${1%%-*}
}
pre_upgrade() {
pre_remove ${2%%-*}
}
post_upgrade() {
post_install ${1%%-*}
}
pre_remove() {
dkms remove cryptodev/${1%%-*} --all
}