summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/99-libsane1.rules2
-rw-r--r--debian/changelog4
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/99-libsane1.rules b/debian/99-libsane1.rules
index ada47b4..42d0dd4 100644
--- a/debian/99-libsane1.rules
+++ b/debian/99-libsane1.rules
@@ -1,2 +1,2 @@
-ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"
+ENV{DEVNAME}!="", ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"
diff --git a/debian/changelog b/debian/changelog
index cc95758..fdc0acd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
sane-backends (1.0.31-3) UNRELEASED; urgency=medium
- * debian/sane-utils.postrm (Closed: #941625).
+ * debian/sane-utils.postrm (Closes: #941625):
- On purge remove pid file if sysvinit are used.
+ * debian/99-libsane1.rules (Closes: #960083):
+ - Add contition ENV{DEVNAME}!="" to run setfacl only on usb scanners.
-- Jörg Frings-Fürst <debian@jff.email> Wed, 30 Sep 2020 16:12:47 +0200