diff options
Diffstat (limited to 'japanese/kappa20/pkg-install')
-rw-r--r-- | japanese/kappa20/pkg-install | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/japanese/kappa20/pkg-install b/japanese/kappa20/pkg-install deleted file mode 100644 index 4c9317a55a2d..000000000000 --- a/japanese/kappa20/pkg-install +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -if [ "$2" != "POST-INSTALL" ]; then - exit 0 -fi - -FONTDIR=${PKG_PREFIX}/share/fonts/k20fonts -FAFILE=${PKG_PREFIX}/share/doc/ja/k20fonts/fonts.alias - -grepv() { - awk -v SRC=$1 'BEGIN{while (getline < SRC) {ENTRY[$0]=1}} (ENTRY[$0] != 1) {print}' $2 -} - -echo "Updating ${FONTDIR}/fonts.alias" -cd ${FONTDIR} -touch fonts.alias -cp fonts.alias fonts.alias.orig -(grepv ${FAFILE} fonts.alias.orig ; cat ${FAFILE}) > fonts.alias -rm -f fonts.alias.orig - -echo "**********************************************************" -echo "You should restart X server or do 'xset fp rehash' command" -echo "to enable this update." -echo "**********************************************************" - -exit 0 |