projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
debian/postrm
@@ -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