diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/openssh-server.postrm | 4 |
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 | ;; |
36 | esac | 38 | esac |
37 | 39 | ||