diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-03-22 08:09:38 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-03-22 08:09:38 +0100 |
commit | 651f9b36ffde7f47f11ac448937885561f5aa700 (patch) | |
tree | c9956c17b0b2a89b3cdf73b2de1941d40fd7ac71 /debian/sane-utils.postinst | |
parent | 8e26114de625c2359e40ba95adaea8508bd73828 (diff) | |
parent | 4016be3a935b0edcd402489caf0ed96b6d18c9d3 (diff) |
Merge branch 'release/debian/1.3.1-3'HEADdebian/1.3.1-3master
Diffstat (limited to 'debian/sane-utils.postinst')
-rw-r--r-- | debian/sane-utils.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/sane-utils.postinst b/debian/sane-utils.postinst index b334d59..553cfce 100644 --- a/debian/sane-utils.postinst +++ b/debian/sane-utils.postinst @@ -41,6 +41,12 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then # Stop debconf; output to stdout after this point. update-inetd needs debconf. db_stop + # Add the scanner system group if it doesn't exist + if ! getent group | grep -q "^scanner:"; then + echo "Adding scanner group..." + addgroup --quiet --system scanner || true + fi + # Create saned user/group if they do not exist if ! getent passwd | grep -q "^saned:"; then echo "Adding saned group and user..." |