summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-11 18:39:28 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-11 18:39:28 +0200
commit3469585fc2019d4fad00a1e99ee78bf3ed6de3b5 (patch)
tree32865ae657fc350cd38586451c453fedba0ed183
parente917024fe773939d1f7036b265b131800a14625d (diff)
d/sane-utils.postinst add || true to adduser call
-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 a4306cf..2ac2cb3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ sane-backends (1.0.25-4) UNRELEASED; urgency=medium
* Remove outdated debian/libsane-dev.NEWS (Closes: #852842).
* debian/rules:
- Remove DVIPSSource from sane.ps to make build reproducible.
+ * debian/sane-uitls.preinst:
+ - Add "|| true" after adduser call to continue installation if
+ adduser fails (Closes: #860078).
-- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 27 Jan 2017 22:09:18 +0100
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