Moved origin/cp-main to upstream v2.90 version
Following are the commands used to move to the v2.90
upstream version in the dnsmasq directory:
1. git remote add upstream http://thekelleys.org.uk/git/dnsmasq.git
2. git remote -v show
3. git fetch upstream
4. git diff origin/cp-main v2.90 > ../dnsmasq_to_v2.90.gitdiff
5. patch -p1 < ../dnsmasq_to_v2.90.gitdiff
6. git add . && git commit -m "Moved origin/cp-main to upstream v2.90 version"
7. git diff v2.90 - Should be empty
Change-Id: I167f369cc3c625e7d291b296950fe98aa8f7d513
diff --git a/debian/dnsmasq-base.postrm b/debian/dnsmasq-base.postrm
index 98b10a4..c5ad3ad 100644
--- a/debian/dnsmasq-base.postrm
+++ b/debian/dnsmasq-base.postrm
@@ -2,10 +2,9 @@
set -e
if [ purge = "$1" ]; then
- if [ -x "$(command -v deluser)" ]; then
- deluser --quiet --system dnsmasq > /dev/null || true
- else
- echo >&2 "not removing dnsmasq system account because deluser command was not found"
- fi
+ userdel dnsmasq
rm -rf /run/dnsmasq
fi
+
+#DEBHELPER#
+