summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-12-24 12:19:49 +0000
committerColin Watson <cjwatson@debian.org>2007-12-24 12:19:49 +0000
commit497c12ab0b0a79830eca44dc67bcbbb865166ef6 (patch)
treeed057eea2fea9b2253308db71f2d49392603405f /debian/openssh-server.postinst
parente199488776ccc97508eb9780e77f30fef6f5689b (diff)
* Remove the hideously old /etc/ssh/primes on upgrade (closes: #123013).
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r--debian/openssh-server.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index e73d3957c..61d34d281 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -392,6 +392,10 @@ setup_init
392commit_transfer_conffile /etc/default/ssh 392commit_transfer_conffile /etc/default/ssh
393commit_transfer_conffile /etc/init.d/ssh 393commit_transfer_conffile /etc/init.d/ssh
394commit_transfer_conffile /etc/pam.d/ssh 394commit_transfer_conffile /etc/pam.d/ssh
395# Renamed to /etc/ssh/moduli in 2.9.9 (!)
396if dpkg --compare-versions "$2" lt 1:4.7p1-1; then
397 rm -f /etc/ssh/primes
398fi
395 399
396 400
397db_stop 401db_stop