summaryrefslogtreecommitdiff
path: root/debian/openssh-server.prerm.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.prerm.in')
-rw-r--r--debian/openssh-server.prerm.in9
1 files changed, 1 insertions, 8 deletions
diff --git a/debian/openssh-server.prerm.in b/debian/openssh-server.prerm.in
index 188434d27..a20e67614 100644
--- a/debian/openssh-server.prerm.in
+++ b/debian/openssh-server.prerm.in
@@ -36,14 +36,7 @@ case "$1" in
36 ;; 36 ;;
37 esac 37 esac
38 ;; 38 ;;
39 upgrade) 39 upgrade|failed-upgrade)
40 # remove symlink on downgrade to when it was a directory
41 if [ -L /usr/share/doc/openssh-server ] && \
42 dpkg --compare-versions "$2" lt-nl 1:4.1p1-5; then
43 rm -f /usr/share/doc/openssh-server
44 fi
45 ;;
46 failed-upgrade)
47 ;; 40 ;;
48 *) 41 *)
49 echo "prerm called with unknown argument \`$1'" >&2 42 echo "prerm called with unknown argument \`$1'" >&2