summaryrefslogtreecommitdiff
path: root/debian/libsane1.preinst
blob: a3a3fb95fcee4862f1cc754de3e64b861a41b468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

#if [ "$1" = "upgrade" ]; then
    # 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
#fi
#DEBHELPER#