diff options
Diffstat (limited to 'japanese/kanji26/files/INSTALL.tmpl')
-rw-r--r-- | japanese/kanji26/files/INSTALL.tmpl | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/japanese/kanji26/files/INSTALL.tmpl b/japanese/kanji26/files/INSTALL.tmpl deleted file mode 100644 index d78e35582904..000000000000 --- a/japanese/kanji26/files/INSTALL.tmpl +++ /dev/null @@ -1,45 +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-INSTALL" ]; then - FONTDIR=%%FONTSDIR%% - - # font alias entry here! - TMPFILE=/tmp/install-fonts-alias-$$ - cat <<- EOF > ${TMPFILE} - kanji26 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 - kanji26b -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 - kanji26i -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 - kanji26bi -jis-mincho-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 - -jis-fixed-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 - -jis-fixed-bold-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-190-100-100-c-260-jisx0208.1983-0 - -jis-fixed-medium-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-190-100-100-c-260-jisx0208.1983-0 - -jis-fixed-bold-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-190-100-100-c-260-jisx0208.1983-0 - -jis-fixed-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 - -jis-fixed-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 - -jis-fixed-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 - -jis-fixed-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 - -jis-mincho-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 - -jis-mincho-bold-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 - -jis-mincho-medium-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 - -jis-mincho-bold-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-250-75-75-c-260-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 ; cat ${TMPFILE}) > fonts.alias - 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 - |