1:5.8.1p1-3
[openssh.git] / debian / ssh.postinst
1 #!/bin/sh -e
2
3 action="$1"
4 oldversion="$2"
5
6 if [ "$action" != configure ]; then
7         exit 0
8 fi
9
10 if [ ! -L /usr/share/doc/ssh ] && \
11    dpkg --compare-versions "$oldversion" lt-nl 1:4.1p1-5; then
12         rm -rf /usr/share/doc/ssh
13         ln -s openssh-client /usr/share/doc/ssh
14 fi
15
16 #DEBHELPER#
17
18 exit 0