Debian Codegraph @

debian/fonts-ipafont-nonfree-jisx0208.prerm

raw
1 #!/bin/sh
2 #
3 # see: dh_installdeb(1)
4
5 set -e
6
7 # font alternatives
8 ALT_GOTHIC_NAME="fonts-japanese-gothic.ttf"
9 ALT_MINCHO_NAME="fonts-japanese-mincho.ttf"
10 GOTHIC_FONT_ENTRY="/usr/share/fonts/truetype/ipafont-nonfree-jisx0208/ipag0208_for_legacy_compatibility.ttf"
11 MINCHO_FONT_ENTRY="/usr/share/fonts/truetype/ipafont-nonfree-jisx0208/ipam0208_for_legacy_compatibility.ttf"
12
13 # summary of how this script can be called:
14 # * <prerm> `remove'
15 # * <old-prerm> `upgrade' <new-version>
16 # * <new-prerm> `failed-upgrade' <old-version>
17 # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
18 # * <deconfigured's-prerm> `deconfigure' `in-favour'
19 # <package-being-installed> <version> `removing'
20 # <conflicting-package> <version>
21 # for details, see http://www.debian.org/doc/debian-policy/ or
22 # the debian-policy package
23
24
25 case "$1" in
26 upgrade|deconfigure)
27 ;;
28 remove)
29 # alternative
30 update-alternatives --remove $ALT_GOTHIC_NAME $GOTHIC_FONT_ENTRY
31 update-alternatives --remove $ALT_MINCHO_NAME $MINCHO_FONT_ENTRY
32 ;;
33
34 failed-upgrade)
35 ;;
36
37 *)
38 echo "prerm called with unknown argument \`$1'" >&2
39 exit 1
40 ;;
41 esac
42
43 # dh_installdeb will replace this with shell code automatically
44 # generated by other debhelper scripts.
45
46 #DEBHELPER#
47
48 exit 0