diff options
author | Colin Watson <cjwatson@debian.org> | 2007-12-24 12:19:49 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2007-12-24 12:19:49 +0000 |
commit | 497c12ab0b0a79830eca44dc67bcbbb865166ef6 (patch) | |
tree | ed057eea2fea9b2253308db71f2d49392603405f /debian/openssh-server.postinst | |
parent | e199488776ccc97508eb9780e77f30fef6f5689b (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.postinst | 4 |
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 | |||
392 | commit_transfer_conffile /etc/default/ssh | 392 | commit_transfer_conffile /etc/default/ssh |
393 | commit_transfer_conffile /etc/init.d/ssh | 393 | commit_transfer_conffile /etc/init.d/ssh |
394 | commit_transfer_conffile /etc/pam.d/ssh | 394 | commit_transfer_conffile /etc/pam.d/ssh |
395 | # Renamed to /etc/ssh/moduli in 2.9.9 (!) | ||
396 | if dpkg --compare-versions "$2" lt 1:4.7p1-1; then | ||
397 | rm -f /etc/ssh/primes | ||
398 | fi | ||
395 | 399 | ||
396 | 400 | ||
397 | db_stop | 401 | db_stop |