summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-22 16:40:57 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-22 16:40:57 +0200
commitd8e8b27518359014c3a7ad5a65988a1b16490cc3 (patch)
tree218c0a344e08ede2f228d79716cf43fc6b9e2907
parentf4cbb1626e55ec2554935ed01dc99b29e7cf26af (diff)
Add Rules-Requires-Root
-rw-r--r--debian/changelog2
-rw-r--r--debian/control1
-rw-r--r--debian/foomatic-filters-beh.install2
-rw-r--r--debian/foomatic-filters-beh.preinst11
4 files changed, 4 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog
index cc8a868..2d5194f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ foomatic-filters (4.0.17-12) UNRELEASED; urgency=medium
- debian/patches/0600-spelling-errors.diff.
* Fix lintian breakout-link warning:
- debian/rules: remove links with copys.
+ * debian/control:
+ - Add Rules-Requires-Root.
-- Jörg Frings-Fürst <debian@jff.email> Sat, 22 Aug 2020 14:36:15 +0200
diff --git a/debian/control b/debian/control
index 7e93714..04dbb2e 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@ Homepage: https://wiki.linuxfoundation.org/openprinting/start
Vcs-Git: git://jff.email/opt/git/foomatic-filters.git
Vcs-Browser: https://jff.email/cgit/foomatic-filters.git
Standards-Version: 4.5.0
+Rules-Requires-Root: no
Package: foomatic-filters
Architecture: any
diff --git a/debian/foomatic-filters-beh.install b/debian/foomatic-filters-beh.install
index 46abf84..3614b39 100644
--- a/debian/foomatic-filters-beh.install
+++ b/debian/foomatic-filters-beh.install
@@ -1,2 +1,2 @@
-usr/lib/cups/backend/beh usr/libexec/cups/backend/
+usr/lib/cups/backend/beh usr/lib/cups/backend/
diff --git a/debian/foomatic-filters-beh.preinst b/debian/foomatic-filters-beh.preinst
deleted file mode 100644
index e416e2e..0000000
--- a/debian/foomatic-filters-beh.preinst
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-set -e
-
-case "$1" in
- upgrade)
- # remove beh from old directory
- rm -f usr/lib/cups/backend/beh
-esac
-
-
-#DEBHELPER#