summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2003-09-01 19:14:16 +0000
committerColin Watson <cjwatson@debian.org>2003-09-01 19:14:16 +0000
commit5e7b8cb37dbb1025c08b0ce4193b820dc1e66337 (patch)
treed297019b0baf31e0d3833b4abc7a5653e5df3f74 /debian/postinst
parent4a4400f027c87b8b8182ecad3e821c0a0db49df0 (diff)
Debian release 3.6.1p2-2.
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst13
1 files changed, 12 insertions, 1 deletions
diff --git a/debian/postinst b/debian/postinst
index 8a1c7c588..8b01d4a7e 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -280,6 +280,12 @@ set_ssh_agent_permissions() {
280} 280}
281 281
282 282
283fix_conffile_permissions() {
284 # Clean up after executable /etc/default/ssh in 1:3.5p1-5. dpkg
285 # doesn't do this for us; see bug #192981.
286 chmod 644 /etc/default/ssh
287}
288
283setup_startup() { 289setup_startup() {
284 db_get ssh/run_sshd 290 db_get ssh/run_sshd
285 if [ "$RET" = "false" ] ; then 291 if [ "$RET" = "false" ] ; then
@@ -306,8 +312,13 @@ fix_statoverride
306create_alternatives 312create_alternatives
307setup_sshd_user 313setup_sshd_user
308set_sshd_permissions 314set_sshd_permissions
309if [ "$2" = "1:3.5p1-1" ]; then fix_ssh_group; fi 315if [ "$2" = "1:3.5p1-1" ]; then
316 fix_ssh_group
317fi
310set_ssh_agent_permissions 318set_ssh_agent_permissions
319if dpkg --compare-versions "$2" lt 1:3.6.1p2-2; then
320 fix_conffile_permissions
321fi
311setup_startup 322setup_startup
312setup_init 323setup_init
313 324