File: libsane1.preinst

package info (click to toggle)
sane-backends 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,552 kB
  • sloc: ansic: 418,643; cpp: 33,564; makefile: 2,502; java: 1,412; sh: 663; python: 330; awk: 83; perl: 27
file content (13 lines) | stat: -rw-r--r-- 254 bytes parent folder | download
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#