r11566: add debian files
[cluck.git] / debian / postinst
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..113b998
--- /dev/null
@@ -0,0 +1,28 @@
+#! /bin/sh
+# postinst script for cl-cluck
+
+set -e
+
+case "$1" in
+    configure)
+       /usr/sbin/register-common-lisp-source cluck
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+