summaryrefslogtreecommitdiff
path: root/debian/openssh-client.postrm
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/openssh-client.postrm
parent52ee62ef466ff58b4a42abeefc8d6cda64ca56f2 (diff)
Check if delgroup is present in openssh-client.postrm (closes: #530501).
Diffstat (limited to 'debian/openssh-client.postrm')
-rw-r--r--debian/openssh-client.postrm4
1 files changed, 3 insertions, 1 deletions
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