File: postinst

package info (click to toggle)
openfortivpn 1.24.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 856 kB
  • sloc: perl: 6,035; ansic: 6,015; sh: 119; makefile: 76; python: 22
file content (20 lines) | stat: -rwxr-xr-x 318 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

case $1 in
    configure)
        # Configure the permissions of the configuration file
	chmod 0600 /etc/openfortivpn/config
	;;

    abort-upgrade|abort-remove|abort-deconfigure)
	;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
        ;;
esac

#DEBHELPER#