Mercurial > dropbear
comparison debian/dropbear.postinst @ 516:7fc4ba3c1cbb
- Bump to 0.52
- Clarify that hosts are resolved on the remote end for multihop
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 11 Nov 2008 14:08:48 +0000 |
parents | 8c2d2edadf2a |
children |
comparison
equal
deleted
inserted
replaced
515:fe30d2a2d626 | 516:7fc4ba3c1cbb |
---|---|
69 /etc/init.d/dropbear restart | 69 /etc/init.d/dropbear restart |
70 fi | 70 fi |
71 fi | 71 fi |
72 | 72 |
73 if test -n "$2" && dpkg --compare-versions "$2" lt '0.50-4' && | 73 if test -n "$2" && dpkg --compare-versions "$2" lt '0.50-4' && |
74 update-service --check dropbear; then | 74 update-service --check dropbear 2>/dev/null; then |
75 update-service --remove /etc/dropbear 2>/dev/null || : | 75 update-service --remove /etc/dropbear 2>/dev/null || : |
76 sleep 6 | 76 sleep 6 |
77 rm -rf /var/run/dropbear /var/run/dropbear.log | 77 rm -rf /var/run/dropbear /var/run/dropbear.log |
78 update-service --add /etc/dropbear || : | 78 update-service --add /etc/dropbear || : |
79 fi | 79 fi |