diff options
Diffstat (limited to 'japanese/kanji18/files/DEINSTALL.tmpl')
-rw-r--r-- | japanese/kanji18/files/DEINSTALL.tmpl | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/japanese/kanji18/files/DEINSTALL.tmpl b/japanese/kanji18/files/DEINSTALL.tmpl deleted file mode 100644 index 42902c4e6205..000000000000 --- a/japanese/kanji18/files/DEINSTALL.tmpl +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -grepv() { - awk -v SRC=$1 'BEGIN{while (getline < SRC) {ENTRY[$0]=1}} (ENTRY[$0] != 1) {print}' $2 -} - -if [ "x$2" = "xPOST-DEINSTALL" ]; then - FONTDIR=%%FONTSDIR%% - - # font alias entry here! - TMPFILE=/tmp/install-fonts-alias-$$ - cat <<- EOF > ${TMPFILE} - kanji18 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 - kanji18b -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 - kanji18i -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 - kanji18bi -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 - -jis-fixed-medium-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-130-100-100-c-180-jisx0208.1983-0 - -jis-fixed-bold-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-130-100-100-c-180-jisx0208.1983-0 - -jis-fixed-medium-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-130-100-100-c-180-jisx0208.1983-0 - -jis-fixed-bold-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-130-100-100-c-180-jisx0208.1983-0 - -jis-fixed-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 - -jis-fixed-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 - -jis-fixed-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 - -jis-fixed-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 - -jis-gothic-medium-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 - -jis-gothic-bold-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 - -jis-gothic-medium-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 - -jis-gothic-bold-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 - EOF - echo "Updating ${FONTDIR}/fonts.alias" - cd ${FONTDIR} - touch fonts.alias - cp fonts.alias fonts.alias.orig - grepv ${TMPFILE} fonts.alias.orig > fonts.alias - if [ ! -s fonts.alias ]; then rm -f fonts.alias; fi - rm -f fonts.alias.orig ${TMPFILE} - - %%LOCALBASE%%/bin/xset fp rehash || - ( - echo "**********************************************************" - echo "You should restart X server or do 'xset fp rehash' command" - echo "to enable this update." - echo "**********************************************************" - ) -fi - - |