r2010: debian
[clsql.git] / debian / prerm.template
diff --git a/debian/prerm.template b/debian/prerm.template
new file mode 100644 (file)
index 0000000..0c45925
--- /dev/null
@@ -0,0 +1,28 @@
+#! /bin/sh
+# From UncommonSQL package
+
+set -e
+
+# package name according to lisp
+LISP_PKG=%%
+
+case "$1" in
+    remove|upgrade|deconfigure)
+       /usr/sbin/unregister-common-lisp-source ${LISP_PKG}
+        ;;
+
+    failed-upgrade)
+        ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 0
+       ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0