summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-12-03 09:19:45 +0000
committerColin Watson <cjwatson@debian.org>2007-12-03 09:19:45 +0000
commita39b28dbafb1a2b52b6795f58ccd7a99ae78974b (patch)
tree151665ed3f3e4e2fff669348801f16a069203bf7
parentbc96117352de9ddf202c1bf5d4d0ca02e9322875 (diff)
* Check whether deluser exists in postrm (closes: #454085).
-rw-r--r--debian/changelog1
-rw-r--r--debian/openssh-server.postrm4
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 5c180b3d4..59056f268 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ openssh (1:4.6p1-7) UNRELEASED; urgency=low
4 * Use autotools-dev's recommended configure --build and --host options. 4 * Use autotools-dev's recommended configure --build and --host options.
5 * Adjust README.Debian to suggest mailing debian-ssh@lists.debian.org 5 * Adjust README.Debian to suggest mailing debian-ssh@lists.debian.org
6 rather than Matthew. 6 rather than Matthew.
7 * Check whether deluser exists in postrm (closes: #454085).
7 8
8 -- Colin Watson <cjwatson@debian.org> Wed, 14 Nov 2007 09:30:36 +0000 9 -- Colin Watson <cjwatson@debian.org> Wed, 14 Nov 2007 09:30:36 +0000
9 10
diff --git a/debian/openssh-server.postrm b/debian/openssh-server.postrm
index f63ba4d46..32471c718 100644
--- a/debian/openssh-server.postrm
+++ b/debian/openssh-server.postrm
@@ -31,7 +31,9 @@ case $1 in
31 31
32 update-rc.d ssh remove >/dev/null 32 update-rc.d ssh remove >/dev/null
33 33
34 deluser --quiet sshd > /dev/null || true 34 if type deluser >/dev/null 2>&1; then
35 deluser --quiet sshd > /dev/null || true
36 fi
35 ;; 37 ;;
36esac 38esac
37 39