File: installsrc

package info (click to toggle)
chdrv 1.0.13-0.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,204 kB
  • ctags: 1,069
  • sloc: ansic: 8,972; perl: 412; asm: 234; makefile: 195; sh: 36
file content (26 lines) | stat: -rwxr-xr-x 526 bytes parent folder | download
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
#!/bin/sh
# -*- sh -*-
echo Welcome to the world of Chdrv.  Beginning installation...
echo Installing 16x16 font......

if [ ! -f chdrvfont.tar.gz ]
then
	echo "I can't find compressed font file chdrvfont.tar.gz"
	echo "So you should do it yourself."
else
	PP=$PWD
	(cd / ; tar xzvf ${PP}/chdrvfont.tar.gz)
fi	

if [ ! -f chdrv24font.tar.gz ]
then
	echo "Installing 24x24 font..."
else
	tar xzvf chdrv24font.tar.gz
fi

echo "Font Installation complete!"
if [ ! -f /etc/chinese.conf ]
then
	install -m 644 chinese.conf /etc
fi