summaryrefslogtreecommitdiff
path: root/debian/ssh.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/ssh.postinst')
-rw-r--r--debian/ssh.postinst18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/ssh.postinst b/debian/ssh.postinst
new file mode 100644
index 000000000..cb1278033
--- /dev/null
+++ b/debian/ssh.postinst
@@ -0,0 +1,18 @@
1#!/bin/sh -e
2
3action="$1"
4oldversion="$2"
5
6if [ "$action" != configure ]; then
7 exit 0
8fi
9
10if [ ! -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
14fi
15
16#DEBHELPER#
17
18exit 0