From 670bd91c99d4916bcd667260fa6919d6467503be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 8 May 2015 22:03:32 +0200 Subject: Bug #784763: correct dpkg-maintscript-helper call --- debian/changelog | 8 ++++++++ debian/control | 2 ++ debian/libsane-common.preinst | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) (limited to 'debian') 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 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# -- cgit v1.2.3