summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-17 21:42:53 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-17 21:42:53 +0200
commit179c93430628bd47fdf67ad524d717e21ef9182f (patch)
treec03f790bce4c2757e0be314ee2d0cbf2ba11368b
parentb70b1160b51a71b4c0fdac7e75fdea62bbd6fa86 (diff)
Move rm_conffile from libsane-common.preinst to libsane-common.maintscript
-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#