commit | c72daea86807d391ae800be7846e86708588def6 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Thu Jan 05 21:33:27 2012 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Thu Jan 05 21:33:27 2012 +0000 |
tree | 0ddaeffd42140667e1b7917f10f96e37d47da1a9 | |
parent | 74c95c25425154af858de72773eb643fd5712e72 [diff] [blame] |
Accumulated 2.60 changes going into git
diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..7eacce6 --- /dev/null +++ b/debian/postrm
@@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +if [ purge = "$1" ]; then + update-rc.d dnsmasq remove >/dev/null + 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 + rm -rf /var/run/dnsmasq +fi