dkms/debian/scripts/prerm-dkms
2024-11-20 14:25:28 +00:00

11 lines
247 B
Plaintext

DKMS_NAME=#MODULE_NAME#
DKMS_VERSION=#MODULE_VERSION#
case "$1" in
remove|upgrade|deconfigure)
if [ "$(dkms status -m $DKMS_NAME -v $DKMS_VERSION)" ]; then
dkms remove -m $DKMS_NAME -v $DKMS_VERSION --all
fi
;;
esac