summaryrefslogtreecommitdiffstats
path: root/debian/tzdata.postrm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/tzdata.postrm9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/tzdata.postrm b/debian/tzdata.postrm
new file mode 100644
index 0000000..0c04f71
--- /dev/null
+++ b/debian/tzdata.postrm
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+# Remove /etc/localtime on purge
+if [ "$1" = "purge" ]; then
+ rm -f /etc/localtime /etc/timezone
+fi
+
+#DEBHELPER#