| 1 |
#! /bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
# font alternatives |
| 6 |
ALT_NAME="fonts-japanese-gothic" |
| 7 |
FONT_ENTRY="/usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf" |
| 8 |
|
| 9 |
|
| 10 |
case "$1" in |
| 11 |
upgrade|deconfigure) |
| 12 |
;; |
| 13 |
remove) |
| 14 |
update-alternatives --remove $ALT_NAME.ttf $FONT_ENTRY |
| 15 |
;; |
| 16 |
failed-upgrade) |
| 17 |
;; |
| 18 |
*) |
| 19 |
echo "prerm called with unknown argument \`$1'" >&2 |
| 20 |
exit 1 |
| 21 |
;; |
| 22 |
esac |
| 23 |
|
| 24 |
# dh_installdeb will replace this with shell code automatically |
| 25 |
# generated by other debhelper scripts. |
| 26 |
|
| 27 |
#DEBHELPER# |
| 28 |
|
| 29 |
exit 0 |