diff options
Diffstat (limited to 'debian/sane-utils.preinst')
-rw-r--r-- | debian/sane-utils.preinst | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/debian/sane-utils.preinst b/debian/sane-utils.preinst deleted file mode 100644 index 1b5f826..0000000 --- a/debian/sane-utils.preinst +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -set -e - -MANPAGE=/usr/share/man/man5/sane-umax_pp.5.gz -MANLINK=/usr/share/man/man5/umax_pp.5.gz - - -if [ "$1" = upgrade ]; then - - ## Remove obsolete manpages that are now provided by sane-common - if dpkg --compare-versions "$2" le "1.1.1-2"; then - - if [ -f "$MANLINK" ] && [ -L "$MANLINK" ]; then - rm -rf "$MANLINK" - fi - - - if [ -f "$MANPAGE" ]; then - rm -rf "$MANPAGE" - fi - fi -fi - - - -#DEBHELPER# |