summaryrefslogtreecommitdiffstats
path: root/debian/tzdata.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 15:48:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 15:48:51 +0000
commit7e1dabf98f7d02dc67dcfce9c76433dd9569c4a6 (patch)
treecb153efab1c92224bb1b82ed968eca9604943b2c /debian/tzdata.postrm
parentAdding upstream version 2024a. (diff)
downloadtzdata-7e1dabf98f7d02dc67dcfce9c76433dd9569c4a6.tar.xz
tzdata-7e1dabf98f7d02dc67dcfce9c76433dd9569c4a6.zip
Adding debian version 2024a-0+deb12u1.debian/2024a-0+deb12u1debian
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#