Create /var/lib/misc/thishost as a symlink to the hostname in postinst
[mirror/userdir-ldap.git] / debian / postrm
diff --git a/debian/postrm b/debian/postrm
new file mode 100644 (file)
index 0000000..ddfd7c4
--- /dev/null
@@ -0,0 +1,10 @@
+#! /bin/bash -e
+#
+#DEBHELPER#
+if [ "$1" = "purge" ]
+then
+    if [ -L /var/lib/misc/thishost ]; then
+       rm /var/lib/misc/thishost
+    fi
+fi
+exit 0