summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-10-04 21:30:22 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-10-04 21:30:22 +0200
commitc9c0b880fe894d2742e07ddb00985397da0f0636 (patch)
treeebcd3b3f74a613662c9bb384347f126439ab3cb0
parentd9dd18ded0a9d3d61b0161886ccde7bf4bc86d27 (diff)
Remove outdated makedev dependency
-rw-r--r--debian/changelog1
-rw-r--r--debian/control2
-rw-r--r--debian/libsane1.postinst12
3 files changed, 2 insertions, 13 deletions
diff --git a/debian/changelog b/debian/changelog
index 036b3d7..879a77a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ sane-backends (1.0.27-3) UNRELEASED; urgency=medium
- Remove superfluous man page sane-config.1 (Closes: #910255).
(Thanks to Michael Westwind <wormrunner@gmail.com>).
* Declare compliance with Debian Policy 4.2.1 (No changes needed).
+ * Remove outdated makedev dependency (Closes: #907017).
-- Jörg Frings-Fürst <debian@jff.email> Thu, 04 Oct 2018 19:05:03 +0200
diff --git a/debian/control b/debian/control
index 309ae13..b808617 100644
--- a/debian/control
+++ b/debian/control
@@ -85,7 +85,7 @@ Depends:
acl [linux-any],
adduser,
libsane-common (= ${source:Version}),
- udev [linux-any] | makedev [linux-any],
+ udev [linux-any],
${misc:Depends},
${shlibs:Depends}
Recommends: sane-utils (>= ${binary:Version})
diff --git a/debian/libsane1.postinst b/debian/libsane1.postinst
index 914d42e..971103e 100644
--- a/debian/libsane1.postinst
+++ b/debian/libsane1.postinst
@@ -9,18 +9,6 @@ case "$1" in
addgroup --quiet --system scanner || true
fi
- if [ "$(uname -s)" = "Linux" ]; then
- if [ -e /dev/MAKEDEV ]; then
- # create /dev/parport*
- if [ ! -c /dev/parport0 ]; then
- (cd /dev && ./MAKEDEV parport) || true
- fi
- # create /dev/sg*
- if [ ! -c /dev/sg0 ]; then
- (cd /dev && ./MAKEDEV sg) || true
- fi
- fi
- fi
;;
abort-upgrade|abort-remove|abort-deconfigure)