summaryrefslogtreecommitdiff
path: root/debian/openssh-client.postinst
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2013-05-21 23:41:23 +0100
committerColin Watson <cjwatson@debian.org>2013-05-21 23:41:23 +0100
commit1fa04ebf122aec5ecbbdb6c7e001665b238e4c62 (patch)
tree3d228c46959931802ddcc289bd658ccda5ab4738 /debian/openssh-client.postinst
parentcc7c64fe532ac804ce6c65d701a32b614cc0b26a (diff)
Drop conffile handling for upgrades from pre-split ssh package; this was
originally added in 1:4.3p2-7 / 1:4.3p2-8, and contained a truly ghastly hack around a misbehaviour in sarge's dpkg. Since this is now four Debian releases ago, we can afford to drop this and simplify the packaging.
Diffstat (limited to 'debian/openssh-client.postinst')
-rw-r--r--debian/openssh-client.postinst9
1 files changed, 0 insertions, 9 deletions
diff --git a/debian/openssh-client.postinst b/debian/openssh-client.postinst
index cff282d70..2f884b7b7 100644
--- a/debian/openssh-client.postinst
+++ b/debian/openssh-client.postinst
@@ -94,13 +94,6 @@ set_ssh_agent_permissions() {
94 fi 94 fi
95} 95}
96 96
97commit_transfer_conffile () {
98 CONFFILE="$1"
99 if [ -e "$CONFFILE.moved-by-preinst" ]; then
100 rm -f "$CONFFILE.moved-by-preinst"
101 fi
102}
103
104 97
105fix_rsh_diversion 98fix_rsh_diversion
106create_alternatives 99create_alternatives
@@ -109,7 +102,5 @@ if [ "$2" = "1:3.5p1-1" ]; then
109 fix_ssh_group 102 fix_ssh_group
110fi 103fi
111set_ssh_agent_permissions 104set_ssh_agent_permissions
112commit_transfer_conffile /etc/ssh/moduli
113commit_transfer_conffile /etc/ssh/ssh_config
114 105
115exit 0 106exit 0