summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog8
-rw-r--r--debian/control2
-rw-r--r--debian/libsane-common.preinst2
3 files changed, 11 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index f49418b..811c2c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sane-backends (1.0.24-11) unstable; urgency=medium
+
+ * Add Pre-Depends dpkg (>= 1.17.5) to package libsane-common to
+ prevent not found error of rm_conf at upgrade (Closes: #784763).
+ * At debian/libsane-common.preinst correct dpkg-maintscript-helper call.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 08 May 2015 22:02:11 +0200
+
sane-backends (1.0.24-10) unstable; urgency=high
* New debian/TROUBLESHOOTING.debian:
diff --git a/debian/control b/debian/control
index fa89f27..9770d79 100644
--- a/debian/control
+++ b/debian/control
@@ -58,6 +58,8 @@ Package: libsane-common
Section: libs
Architecture: all
Multi-Arch: foreign
+Pre-Depends:
+ dpkg (>= 1.15.7.2)
Depends: ${misc:Depends}
Description: API library for scanners -- documentation and support files
SANE stands for "Scanner Access Now Easy" and is an application
diff --git a/debian/libsane-common.preinst b/debian/libsane-common.preinst
index 2a04fd6..05714e8 100644
--- a/debian/libsane-common.preinst
+++ b/debian/libsane-common.preinst
@@ -6,7 +6,7 @@ if [ "$1" = upgrade ]; then
#
# remove obsolete conffile
#
- rm_conffile /etc/sane.d/v4l.conf 1.0.24-10
+ dpkg-maintscript-helper rm_conffile /etc/sane.d/v4l.conf 1.0.24-10 -- "$@"
fi
#DEBHELPER#