File: postinst

package info (click to toggle)
motifnls 2.1-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 112 kB
  • ctags: 3
  • sloc: sh: 37; makefile: 36
file content (35 lines) | stat: -rw-r--r-- 578 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
28
29
30
31
32
33
34
35
#!/bin/sh -e
#
# Debian package postinst
# Version 1.1
#
# Robert Leslie <rob@mars.org>

case "$1" in
  configure)
    # continue below
    ;;

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

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

# complete horrible preinst workaround for dpkg brokenness
cd /usr/lib
test -d X11 || mv .X11.tmp X11

cat <<EOT

You may need to set your XNLSPATH environment variable to
"/usr/X11R6/lib/X11/nls" in order for some Motif applications to work.

EOT

echo -n "Press [ENTER] "
read