File: spampd.postinst

package info (click to toggle)
spampd 2.53-1.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 1,000 kB
  • sloc: perl: 6,687; sh: 280; makefile: 52
file content (24 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash -e

handle_init_errs ()
{
        RET=$?
        if [ "$RET" = "6" ]; then
                return 0
        else
                exit $RET
        fi
        set -e
}

case "$1" in 
	install|configure)
		adduser --system --group \
		        --no-create-home --home /nonexistent \
			--quiet spampd 
		;;
	*)
		;;
esac

#DEBHELPER#