File: gnokii-cli.postinst

package info (click to toggle)
gnokii 0.6.30+dfsg-1.3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 10,052 kB
  • sloc: ansic: 66,256; sh: 11,369; makefile: 646; sql: 61
file content (18 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e

set -e

test $DEBIAN_SCRIPT_DEBUG && set -v -x

case "$1" in
  configure|upgrade)
    getent group gnokii > /dev/null || addgroup --system gnokii
    if ! dpkg-statoverride --list /usr/sbin/mgnokiidev > /dev/null; then
      dpkg-statoverride --update --add root gnokii 4754 /usr/sbin/mgnokiidev
    fi
  ;;
esac

#DEBHELPER#

exit 0;