From 72ab47faa8f59fbb0c5effdb21fc969c466e5eb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 16 Mar 2025 09:13:50 +0100 Subject: Move addgroup from d/libsane1.postinst to d/libsane1.preinst --- debian/libsane1.postinst | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'debian/libsane1.postinst') diff --git a/debian/libsane1.postinst b/debian/libsane1.postinst index 7c747f6..b5da9aa 100644 --- a/debian/libsane1.postinst +++ b/debian/libsane1.postinst @@ -18,24 +18,5 @@ if [ "$1" = "configure" ]; then fi # end-remove-after -case "$1" in - configure) - # 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 - - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "$0 called with unknown argument '$1'" >&2 - exit 1 - ;; -esac - #DEBHELPER# -- cgit v1.2.3