summaryrefslogtreecommitdiffstats
path: root/debian/tzdata.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 13:53:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 13:53:46 +0000
commit3cae781eef548a700dbfc995625e56db4cf96acc (patch)
tree25fb958b46b0712cc4050cdf1fb26824f3400afd /debian/tzdata.postrm
parentAdding upstream version 2024a. (diff)
downloadtzdata-3cae781eef548a700dbfc995625e56db4cf96acc.tar.xz
tzdata-3cae781eef548a700dbfc995625e56db4cf96acc.zip
Adding debian version 2024a-1.debian/2024a-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tzdata.postrm')
-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#