[vdr] 02/06: Remove obsolete /etc/vdr/order.conf
Tobias Grimm
tiber-guest at moszumanska.debian.org
Sun Sep 20 20:44:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
tiber-guest pushed a commit to annotated tag debian/2.2.0-2_etobi4
in repository vdr.
commit d33ee7b65bc4097c5ea0ce940358a5abc2a08418
Author: etobi <git at e-tobi.net>
Date: Wed Sep 16 19:33:34 2015 +0200
Remove obsolete /etc/vdr/order.conf
---
debian/vdr.postinst | 5 +++++
debian/vdr.postrm | 5 +++++
debian/vdr.preinst | 12 ++++++++++++
3 files changed, 22 insertions(+)
diff --git a/debian/vdr.postinst b/debian/vdr.postinst
index a02bd2f..25de058 100644
--- a/debian/vdr.postinst
+++ b/debian/vdr.postinst
@@ -102,6 +102,11 @@ ConfigureOwnerShip() {
fi
}
+# Remove obsolete config files
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+ dpkg-maintscript-helper rm_conffile /etc/vdr/plugins/order.conf 2.2.0-1 -- "$@"
+fi
+
case "$1" in
configure)
db_get vdr/select_dvb_card
diff --git a/debian/vdr.postrm b/debian/vdr.postrm
index a241bf5..b46c4f6 100644
--- a/debian/vdr.postrm
+++ b/debian/vdr.postrm
@@ -15,6 +15,11 @@ set -e
# the debian-policy package
+# Remove obsolete config files
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+ dpkg-maintscript-helper rm_conffile /etc/vdr/plugins/order.conf 2.2.0-1 -- "$@"
+fi
+
case "$1" in
purge)
rm -f /var/cache/vdr/plugin_search_cache* > /dev/null 2>&1 || true
diff --git a/debian/vdr.preinst b/debian/vdr.preinst
new file mode 100644
index 0000000..0ecdd52
--- /dev/null
+++ b/debian/vdr.preinst
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+set -e
+
+# Remove obsolete config files
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+ dpkg-maintscript-helper rm_conffile /etc/vdr/plugins/order.conf 2.2.0-1 -- "$@"
+fi
+
+#DEBHELPER#
+
+exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr.git
More information about the pkg-vdr-dvb-changes
mailing list