aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-mplus/files/patch-install_mplus_fonts
blob: 99d35f7ed5fd2a0051ceb38f38c3e6c3d4f9fde3 (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 23:45:12.000000000 +0900
+++ install_mplus_fonts	2009-05-14 11:07:01.000000000 +0900
@@ -29,18 +29,6 @@
 
 
 
-# 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 @@
 	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 @@
 	| 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 @@
 	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 @@
 		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