generated from general-packages/pika-pkg-template
11 lines
247 B
Plaintext
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
|