From f5e849eee199e22c2765e8d17388b80f825e7d6b Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sun, 22 Aug 2010 20:58:10 +0200 Subject: initial version with Bamboo Touch support --- 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..bc7a47b --- /dev/null +++ b/debian/postrm @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME=wacom +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