--- install_mplus_fonts.orig 2005-03-19 14:45:12 UTC +++ install_mplus_fonts @@ -29,18 +29,6 @@ CURPTH=/usr/X11R6/lib/X11/fonts/misc -# Backup/Create mplus directory -if [ -d ${PREFIX}.BAK ]; then - echo "remove: '${PREFIX}.BAK' directory" - rm -rf ${PREFIX}.BAK -fi -if [ -d $PREFIX ]; then - echo "backup: present '${PREFIX##/*/}' directory to '${PREFIX##/*/}.BAK'" - mv ${PREFIX} ${PREFIX}.BAK -fi -echo "create: new '$PREFIX' directory" -mkdir -p $PREFIX - # Install M+ BITMAP FONTS E echo -e "\nInstall M+ BITMAP FONTS E (iso8859-1)..." cd fonts_e @@ -54,8 +42,6 @@ do echo "create: $b.pcf.gz" bdftopcf $f | gzip > $PREFIX/$b.pcf.gz done -echo "create: fonts.alias for M+ BITMAP FONTS E" -cat fonts.alias > $PREFIX/fonts.alias cd - # Install M+ BITMAP FONTS EURO @@ -79,8 +65,6 @@ if [ "$EURO15" != "NO" ]; then | gzip > $PREFIX/mplus_h12rw-euro.pcf.gz # rm $b-euro.bdf - echo "create: fonts.alias for M+ BITMAP FONTS EURO" - cat fonts.alias >> $PREFIX/fonts.alias cd - fi @@ -145,8 +129,6 @@ if [ "$MPLUSJ" != "NO" ]; then done # rm mplus_j1*b.bdf - echo "create: fonts.alias for M+ BITMAP FONTS J" - cat fonts.alias >> $PREFIX/fonts.alias cd - fi @@ -166,12 +148,3 @@ if [ "$CURSOR" != "NO" ]; then echo "ERROR: No such file !" fi fi - -# Finish -echo -e "\ncreate: fonts.dir file" -mkfontdir $PREFIX -if [ -z $DESTDIR ]; then - echo -n "xset fp rehash..." - xset fp rehash && - echo " done" -fi