#!/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
