#!/bin/sh set -e # Automatically added by dh_dkms/UNDECLARED DKMS_NAME=kmodlve DKMS_VERSION=2.1-31 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 # End automatically added section