From 14ff3671081190349b51d0183fa7c24be1b852aa Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 25 Aug 2010 13:02:14 +0200 Subject: initial version with Dell XT2 support only --- debian/postrm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 debian/postrm (limited to 'debian/postrm') diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..60fa5ee --- /dev/null +++ b/debian/postrm @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME=hid-ntrig +VERSION=1.0.0 + +set -e + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + moddir="/lib/modules/`uname -r`/kernel/" + depmod + if [ -d "/usr/src/$NAME-$VERSION" ]; then + echo "Removing old module source..." + rm -rf "/usr/src/$NAME-$VERSION" + fi + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + -- cgit v1.2.3