File: selinux-basics.postinst

package info (click to toggle)
selinux-basics 0.3.0
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 104 kB
  • ctags: 79
  • sloc: python: 316; sh: 115; makefile: 45
file content (22 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e

case "$1" in
    configure)
    # only do this for the first install
    if [ -z "$2" ] || dpkg --compare-versions "$2" lt 0.2.5; then
        ln -s ../no-legacy-ptys.rules /etc/udev/rules.d/010-no-legacy-ptys.rules
    fi
    ;;

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

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

#DEBHELPER#

exit 0