[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[tzdata] 01/01: Remove /etc/localtime on purge. Closes: #854141.



This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch sid
in repository tzdata.

commit 5f874fb0ab2e6250c8bb8ac82d41f9f60d805dbd
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Sat Mar 4 12:32:34 2017 +0100

    Remove /etc/localtime on purge.  Closes: #854141.
---
 debian/changelog     | 1 +
 debian/tzdata.postrm | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3788924..ecac0be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ tzdata (2017a-1) UNRELEASED; urgency=medium
     #849234.
   * Update Japanese debconf translation, by victory <victory.deb@gmail.com>.
   * Update French debconf translation, by Baptiste Jammet.  Closes: #851589.
+  * Remove /etc/localtime on purge.  Closes: #854141.
 
  -- Aurelien Jarno <aurel32@debian.org>  Sat, 04 Mar 2017 00:58:05 +0100
 
diff --git a/debian/tzdata.postrm b/debian/tzdata.postrm
new file mode 100644
index 0000000..3f0deec
--- /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
+fi
+
+#DEBHELPER#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/tzdata.git


Reply to: