File: postinst

package info (click to toggle)
2utf 1.04
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 416 kB
  • ctags: 339
  • sloc: ansic: 3,592; makefile: 313; sh: 40
file content (27 lines) | stat: -rwxr-xr-x 430 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
26
27
#!/bin/sh
set -o errexit

case "$1" in
  configure)
    if [ -d /usr/share/i18n/charmaps -o -d /usr/share/i18n/charmap ]
    then
	    /usr/bin/2UTF --create-aliases
    fi
#    if test -x /usr/bin/update-menus
#    then
#	    /usr/bin/update-menus
#    fi

    ;;

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

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

exit 0