From f85ef93bb342001adecd9fe33bb7182f608390b1 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 6 Apr 2011 22:39:12 +0200 Subject: Initial version of hid-multitouch-dkms package This is identical to jikos multitouch tree from 06APR2011. Signed-off-by: Henrik Rydberg --- 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..7cedf1f --- /dev/null +++ b/debian/postrm @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME=hid-multitouch +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