#!/bin/sh # # see: dh_installdeb(1) set -e # font alternatives ALT_GOTHIC_NAME="fonts-japanese-gothic.ttf" ALT_MINCHO_NAME="fonts-japanese-mincho.ttf" GOTHIC_FONT_ENTRY="/usr/share/fonts/truetype/ipafont-nonfree-jisx0208/ipag0208_for_legacy_compatibility.ttf" MINCHO_FONT_ENTRY="/usr/share/fonts/truetype/ipafont-nonfree-jisx0208/ipam0208_for_legacy_compatibility.ttf" # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in upgrade|deconfigure) ;; remove) # alternative update-alternatives --remove $ALT_GOTHIC_NAME $GOTHIC_FONT_ENTRY update-alternatives --remove $ALT_MINCHO_NAME $MINCHO_FONT_ENTRY ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0