File: needrestart-session.postinst

package info (click to toggle)
needrestart-session 0.3-12
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 276 kB
  • sloc: perl: 325; sh: 54; makefile: 24
file content (19 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

case "$1" in
        configure)
                adduser --system --no-create-home --home /nonexistent --quiet needrestart-dbus || true
        ;;
        abort-upgrade|abort-remove|abort-deconfigure)
        ;;
        *)
                echo "postinst called with unknown argument \`$1'" >&2
                exit 1
        ;;
esac

#DEBHELPER#

exit 0