summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-05-28 22:06:13 +0000
committerColin Watson <cjwatson@debian.org>2009-05-28 22:06:13 +0000
commitbe2797cef3d10e606852a1d5e721ae0ec5acb0ae (patch)
tree03666777ec692bd49d90f2088fdf66a53ff95a8f /debian
parent52ee62ef466ff58b4a42abeefc8d6cda64ca56f2 (diff)
Check if delgroup is present in openssh-client.postrm (closes: #530501).
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/openssh-client.postrm4
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index c17bd86d1..9d9efdaf7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ openssh (1:5.1p1-6) UNRELEASED; urgency=low
9 LP: #261884). 9 LP: #261884).
10 * Add a comment above PermitRootLogin in sshd_config pointing to 10 * Add a comment above PermitRootLogin in sshd_config pointing to
11 README.Debian. 11 README.Debian.
12 * Check if delgroup is present in openssh-client.postrm (closes: #530501).
12 13
13 -- Colin Watson <cjwatson@debian.org> Wed, 14 Jan 2009 11:30:07 +0000 14 -- Colin Watson <cjwatson@debian.org> Wed, 14 Jan 2009 11:30:07 +0000
14 15
diff --git a/debian/openssh-client.postrm b/debian/openssh-client.postrm
index 4d52a7beb..eb6fde06b 100644
--- a/debian/openssh-client.postrm
+++ b/debian/openssh-client.postrm
@@ -25,7 +25,9 @@ case $1 in
25 rm -f /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 25 rm -f /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2
26 rmdir --ignore-fail-on-non-empty /etc/ssh 26 rmdir --ignore-fail-on-non-empty /etc/ssh
27 27
28 delgroup --quiet ssh > /dev/null || true 28 if which delgroup; then
29 delgroup --quiet ssh > /dev/null || true
30 fi
29 ;; 31 ;;
30esac 32esac
31 33