File: resolvconf-admin.postinst

package info (click to toggle)
resolvconf-admin 0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 128 kB
  • sloc: ansic: 337; sh: 41; makefile: 35
file content (15 lines) | stat: -rw-r--r-- 320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

case "$1" in
    configure)
        if ! getent group resolvconf-admins >/dev/null; then
            addgroup --quiet --system resolvconf-admins || true
        fi
        chown root:resolvconf-admins /usr/bin/resolvconf-admin
        chmod 4754 /usr/bin/resolvconf-admin
        ;;
esac

#DEBHELPER#