summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-22 10:28:12 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-22 10:28:12 +0200
commitb5aeab54470b0d2044f049cd5b7944dc795e9934 (patch)
tree4202a246b2d7208ae52ecbed8e4fcd21055b6a74
parent0579a06fba39beab24732815b59aaf272588be44 (diff)
d/sane-uitls.postinst: Add '|| true' after adduser call to continue installation if adduser fails
-rw-r--r--debian/changelog3
-rw-r--r--debian/sane-utils.postinst2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 54e89fc..c63b446 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ sane-backends (1.0.25-5) UNRELEASED; urgency=medium
* debian/rules:
- Remove DVIPSSource from sane.ps to make build reproducible.
* Remove outdated debian/libsane-dev.NEWS (Closes: #852842).
+ * debian/sane-uitls.postinst:
+ - Add "|| true" after adduser call to continue installation if
+ adduser fails (Closes: #860078).
-- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 22 Apr 2017 10:20:55 +0200
diff --git a/debian/sane-utils.postinst b/debian/sane-utils.postinst
index 155ed22..cf97dbe 100644
--- a/debian/sane-utils.postinst
+++ b/debian/sane-utils.postinst
@@ -66,7 +66,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then
fi
fi
if [ "$SANED_IN_SCANNER" = "true" ]; then
- adduser --quiet saned scanner
+ adduser --quiet saned scanner || true
else
if id saned | grep -q "groups=.*\(scanner\)"; then
deluser --quiet saned scanner