File: postinst

package info (click to toggle)
longrun 0.9-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 120 kB
  • ctags: 48
  • sloc: ansic: 349; makefile: 99; sh: 17
file content (16 lines) | stat: -rw-r--r-- 308 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

case "$1" in
    configure)
    if [ ! -e /dev/cpu/0/msr -o ! -e /dev/cpu/0/cpuid ] ; then
	(cd /dev && ./MAKEDEV cpu)
    fi
        ;;
    abort-upgrade|abort-remove|abort-deconfigure)
        ;;
    *)
        echo "postinst called with unknown argument \`$1'" >&2
        ;;
esac

#DEBHELPER#