Mercurial > dropbear
comparison debian/dropbear.postinst @ 469:8c2d2edadf2a
Update to debian 0.50-4 diff
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 27 Mar 2008 10:19:28 +0000 |
parents | c23c7f0f594c |
children | 7fc4ba3c1cbb |
comparison
equal
deleted
inserted
replaced
467:0871a0b89f7c | 469:8c2d2edadf2a |
---|---|
67 invoke-rc.d dropbear restart | 67 invoke-rc.d dropbear restart |
68 else | 68 else |
69 /etc/init.d/dropbear restart | 69 /etc/init.d/dropbear restart |
70 fi | 70 fi |
71 fi | 71 fi |
72 | |
73 if test -n "$2" && dpkg --compare-versions "$2" lt '0.50-4' && | |
74 update-service --check dropbear; then | |
75 update-service --remove /etc/dropbear 2>/dev/null || : | |
76 sleep 6 | |
77 rm -rf /var/run/dropbear /var/run/dropbear.log | |
78 update-service --add /etc/dropbear || : | |
79 fi |