From b5aeab54470b0d2044f049cd5b7944dc795e9934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 22 Apr 2017 10:28:12 +0200 Subject: d/sane-uitls.postinst: Add '|| true' after adduser call to continue installation if adduser fails --- debian/changelog | 3 +++ debian/sane-utils.postinst | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 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 -- cgit v1.2.3