File: carbon-c-relay.postinst

package info (click to toggle)
carbon-c-relay 3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,604 kB
  • sloc: ansic: 8,354; sh: 1,401; yacc: 924; lex: 354; python: 112; makefile: 110
file content (17 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e

if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
    dpkg-maintscript-helper mv_conffile /etc/carbon/carbon-c-relay.conf /etc/carbon-c-relay.conf 0.40~ -- "$@"
fi

case "$1" in
    configure)
        adduser --quiet --system --no-create-home \
            --home /var/lib/carbon-c-relay \
            --group \
            carbon-c-relay
    ;;
esac

#DEBHELPER#