debian/needrestart-session.postinst
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | case "$1" in |
| 6 | configure) |
| 7 | adduser --system --no-create-home --home /nonexistent --quiet needrestart-dbus || true |
| 8 | ;; |
| 9 | abort-upgrade|abort-remove|abort-deconfigure) |
| 10 | ;; |
| 11 | *) |
| 12 | echo "postinst called with unknown argument \`$1'" >&2 |
| 13 | exit 1 |
| 14 | ;; |
| 15 | esac |
| 16 | |
| 17 | #DEBHELPER# |
| 18 | |
| 19 | exit 0 |