summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/control2
-rw-r--r--debian/libsane-common.maintscript1
-rw-r--r--debian/libsane-common.preinst12
4 files changed, 4 insertions, 13 deletions
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 <debian@jff-webhosting.net> 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 <debian@jff-webhosting.net>
-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#