File: postinst

package info (click to toggle)
eterm 0.7-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,024 kB
  • ctags: 1,205
  • sloc: ansic: 14,536; sh: 308; makefile: 294
file content (25 lines) | stat: -rw-r--r-- 420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/sh
# postinst - call after dpkg has unpacked
# written by Darren Stalder (whooptidoo!)
# $Id:$
#

set -e

case "$1" in
    configure)
	if [ -x /usr/sbin/suidregister ]; then
	    suidregister -s eterm /usr/X11R6/bin/Eterm root root 4755
	fi
    ;;

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

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

exit 0