summaryrefslogtreecommitdiff
path: root/debian/ssh.prerm
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2005-07-03 13:02:22 +0000
committerColin Watson <cjwatson@debian.org>2005-07-03 13:02:22 +0000
commitdcf02dd84f1d624336c0505ba572080fe536ee5b (patch)
treeef4edbc64164bd1bf4148b8526f477161095c21a /debian/ssh.prerm
parent7daa7dc83f249819ccdce683031deaa2d4bae4ea (diff)
Make /usr/share/doc/openssh-server and /usr/share/doc/ssh symlinks to
/usr/share/doc/openssh-client.
Diffstat (limited to 'debian/ssh.prerm')
-rw-r--r--debian/ssh.prerm14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/ssh.prerm b/debian/ssh.prerm
new file mode 100644
index 000000000..400c92bed
--- /dev/null
+++ b/debian/ssh.prerm
@@ -0,0 +1,14 @@
1#!/bin/sh -e
2
3case $1 in
4 upgrade)
5 if [ -L /usr/share/doc/ssh ] && \
6 dpkg --compare-versions "$2" lt-nl 1:4.1p1-5; then
7 rm -f /usr/share/doc/ssh
8 fi
9 ;;
10esac
11
12#DEBHELPER#
13
14exit 0