summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Campbell <ijc@debian.org>2019-01-02 15:39:33 +0000
committerIan Campbell <ijc@debian.org>2019-01-02 17:08:12 +0000
commit60560ee2d7d4fa40d9df9deb99312fc7b99bf1b9 (patch)
treee2763b6244f0bb9fa0903f8885d72c61f3559f43
parent9d74918ba1ff122606cc6a8545c46cfa139aaa87 (diff)
Drop postinst code cleaning up from Lenny era.
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/qcontrol.postinst6
2 files changed, 1 insertions, 6 deletions
diff --git a/debian/changelog b/debian/changelog
index 1eccd1f..3c9851b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ qcontrol (0.5.6-3) UNRELEASED; urgency=medium
* Run `udevadm trigger` from postinst so that the gpio keys device is tagged
before trying to start the qcontrol services (which depend on the tagged
device). (Closes: #914160, again!).
+ * Drop postinst code cleaning up from Lenny era.
-- Ian Campbell <ijc@debian.org> Wed, 02 Jan 2019 15:27:25 +0000
diff --git a/debian/qcontrol.postinst b/debian/qcontrol.postinst
index 702545a..debb3c3 100755
--- a/debian/qcontrol.postinst
+++ b/debian/qcontrol.postinst
@@ -20,12 +20,6 @@ if [ ! -e /etc/qcontrol.conf ]; then
esac
fi
-# Lenny stable update version included custom rules file
-if [ -e /etc/udev/rules.d/z60-qcontrol.rules ]; then
- echo "Removing no longer needed udev rules file"
- rm /etc/udev/rules.d/z60-qcontrol.rules
-fi
-
if dpkg-maintscript-helper supports rm_conffile; then
dpkg-maintscript-helper rm_conffile \
/etc/default/qcontrol 0.5.1-4~ qcontrol -- "$@"