--- /dev/null
+#!/bin/sh
+# postinst script for libsmack1
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ test ! -d /smack && mkdir /smack
+ ;;
+ *)
+ 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
--- /dev/null
+#!/bin/sh
+# postrm script for libsmack1
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+ purge|abort-install|remove|upgrade|failed-upgrade|abort-upgrade|disappear)
+ test -d /smack && rm -rf /smack
+ ;;
+ *)
+ echo "postrm 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