aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-mplus-bitmap/files/patch-install_mplus_fonts
blob: 78fdb52e5ecd0d30cdbe9d0d0853f2621b3bfebe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--- 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