File: postinst

package info (click to toggle)
iportuguese 19980611-2
  • links: PTS
  • area: main
  • in suites: potato, woody
  • size: 472 kB
  • ctags: 1
  • sloc: sh: 62; makefile: 40
file content (27 lines) | stat: -rw-r--r-- 682 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 -
# postinst of package iportuguese
# Adapted from postinst script of package iamerican by Rafael
#    Laboissiere <rafael@icp.inpg.fr> on Fri, 19 Jun 1998 11:51:11 +0200

set -e

case "$1" in
    configure)     
      update-alternatives --verbose --install \
        /usr/lib/ispell/default.hash ispell-dictionary.hash \
        /usr/lib/ispell/portuguese.hash 10 \
        --slave /usr/lib/ispell/default.aff ispell-dictionary.aff \
        /usr/lib/ispell/portuguese.aff > /dev/null
      update-ispell-dictionary
        ;;
    abort-upgrade | abort-deconfigure | abort-remove)
	;;
    *)
	echo "$0: incorrect arguments: $*" >&2
	exit 1
	;;
esac

#DEBHELPER#

exit 0