summaryrefslogtreecommitdiff
path: root/debian/sane-utils.postinst
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 /debian/sane-utils.postinst
parent0579a06fba39beab24732815b59aaf272588be44 (diff)
d/sane-uitls.postinst: Add '|| true' after adduser call to continue installation if adduser fails
Diffstat (limited to 'debian/sane-utils.postinst')
-rw-r--r--debian/sane-utils.postinst2
1 files changed, 1 insertions, 1 deletions
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