diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | debian/sane.install | 1 | ||||
-rw-r--r-- | debian/sane.links | 2 | ||||
-rw-r--r-- | debian/sane.preinst | 20 |
4 files changed, 25 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index b604d56..d9977a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,9 @@ sane-frontends (1.0.14-16) UNRELEASED; urgency=medium - remove debian/compat. * Declare compliance with Debian Policy 4.5.0 (No changes needed). * Add Forwarded: not-needed to patches. + * Fix breakout-link to /usr/lib/gimp/2.0/plug-ins/xscanimage: + - Remove sane.links. + - New sane.preinst. -- Jörg Frings-Fürst <debian@jff.email> Mon, 18 May 2020 11:48:22 +0200 diff --git a/debian/sane.install b/debian/sane.install index d40d673..25e252c 100644 --- a/debian/sane.install +++ b/debian/sane.install @@ -1 +1,2 @@ debian/xscanimage-icon-32x32-2.xpm usr/share/sane +debian/sane/usr/bin/xscanimage usr/lib/gimp/2.0/plug-ins/xscanimage diff --git a/debian/sane.links b/debian/sane.links index 54aafe8..1ad6c2f 100644 --- a/debian/sane.links +++ b/debian/sane.links @@ -1 +1 @@ -usr/bin/xscanimage usr/lib/gimp/2.0/plug-ins/xscanimage +#usr/bin/xscanimage usr/lib/gimp/2.0/plug-ins/xscanimage diff --git a/debian/sane.preinst b/debian/sane.preinst new file mode 100644 index 0000000..9b78cf4 --- /dev/null +++ b/debian/sane.preinst @@ -0,0 +1,20 @@ +#!/bin/sh +set -e + +case "$1" in + install|upgrade|abort-upgrade) +# +# remove obsolete link +# + if [ -L /usr/lib/gimp/2.0/plug-ins/xscanimage ] ; then + rm -f /usr/lib/gimp/2.0/plug-ins/xscanimage + fi + ;; + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + +#DEBHELPER# |