summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/openssh-client.postrm2
-rw-r--r--debian/openssh-server.postrm2
3 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index ee74a80d5..d2d626831 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ openssh (1:7.5p1-3) UNRELEASED; urgency=medium
3 * Fix debian/adjust-openssl-dependencies to account for preferring 3 * Fix debian/adjust-openssl-dependencies to account for preferring
4 libssl1.0-dev. 4 libssl1.0-dev.
5 * Adjust OpenSSL dependencies for openssh-client-ssh1 too. 5 * Adjust OpenSSL dependencies for openssh-client-ssh1 too.
6 * Fix purge failure when /etc/ssh has already somehow been removed
7 (LP: #1682817).
6 8
7 -- Colin Watson <cjwatson@debian.org> Sat, 08 Apr 2017 15:39:13 +0100 9 -- Colin Watson <cjwatson@debian.org> Sat, 08 Apr 2017 15:39:13 +0100
8 10
diff --git a/debian/openssh-client.postrm b/debian/openssh-client.postrm
index 68c354481..12fb3671d 100644
--- a/debian/openssh-client.postrm
+++ b/debian/openssh-client.postrm
@@ -11,7 +11,7 @@ case $1 in
11 # already been removed at this point. 11 # already been removed at this point.
12 rm -f /etc/ssh/moduli /etc/ssh/primes 12 rm -f /etc/ssh/moduli /etc/ssh/primes
13 rm -f /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 13 rm -f /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2
14 rmdir --ignore-fail-on-non-empty /etc/ssh 14 [ ! -d /etc/ssh ] || rmdir --ignore-fail-on-non-empty /etc/ssh
15 15
16 if which delgroup >/dev/null 2>&1; then 16 if which delgroup >/dev/null 2>&1; then
17 delgroup --quiet ssh > /dev/null || true 17 delgroup --quiet ssh > /dev/null || true
diff --git a/debian/openssh-server.postrm b/debian/openssh-server.postrm
index ff16e5619..4a716f563 100644
--- a/debian/openssh-server.postrm
+++ b/debian/openssh-server.postrm
@@ -24,7 +24,7 @@ case $1 in
24 ucfr --purge openssh-server /etc/ssh/sshd_config 24 ucfr --purge openssh-server /etc/ssh/sshd_config
25 fi 25 fi
26 rm -f /etc/ssh/sshd_not_to_be_run 26 rm -f /etc/ssh/sshd_not_to_be_run
27 rmdir --ignore-fail-on-non-empty /etc/ssh 27 [ ! -d /etc/ssh ] || rmdir --ignore-fail-on-non-empty /etc/ssh
28 28
29 if which deluser >/dev/null 2>&1; then 29 if which deluser >/dev/null 2>&1; then
30 deluser --quiet sshd > /dev/null || true 30 deluser --quiet sshd > /dev/null || true