From 179c93430628bd47fdf67ad524d717e21ef9182f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 17 Oct 2017 21:42:53 +0200 Subject: Move rm_conffile from libsane-common.preinst to libsane-common.maintscript --- debian/changelog | 2 ++ debian/control | 2 +- debian/libsane-common.maintscript | 1 + debian/libsane-common.preinst | 12 ------------ 4 files changed, 4 insertions(+), 13 deletions(-) create mode 100644 debian/libsane-common.maintscript delete mode 100644 debian/libsane-common.preinst (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 917b879..06e1e44 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,6 +25,8 @@ sane-backends (1.0.27-1~experimental3) experimental; urgency=medium * libsane1.README.Debian: - Remove references to the libsane-extras package. * Correct typos in the previous changelog entry. + * Declare compliance with Debian Policy 4.1.1 (No changes needed). + * Move rm_conffile from libsane-common.preinst to libsane-common.maintscript. -- Jörg Frings-Fürst Thu, 17 Aug 2017 16:10:44 +0200 diff --git a/debian/control b/debian/control index 9f4aad9..798b009 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: sane-backends Section: graphics Priority: optional Maintainer: Jörg Frings-Fürst -Standards-Version: 4.0.0 +Standards-Version: 4.1.1 Build-Depends: autoconf, chrpath, diff --git a/debian/libsane-common.maintscript b/debian/libsane-common.maintscript new file mode 100644 index 0000000..1438dbe --- /dev/null +++ b/debian/libsane-common.maintscript @@ -0,0 +1 @@ +rm_conffile /etc/sane.d/v4l.conf 1.0.24-10~ diff --git a/debian/libsane-common.preinst b/debian/libsane-common.preinst deleted file mode 100644 index 05714e8..0000000 --- a/debian/libsane-common.preinst +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -set -e - - -if [ "$1" = upgrade ]; then -# -# remove obsolete conffile -# - dpkg-maintscript-helper rm_conffile /etc/sane.d/v4l.conf 1.0.24-10 -- "$@" -fi - -#DEBHELPER# -- cgit v1.2.3