View Single Post
Old 09-28-2008, 03:52 PM   #13
drago began at the beginning.
Posts: 28
Karma: 10
Join Date: Jul 2006
Location: Budapest, Hungary
Device: KPW, BrokenfirstgeniLiad
Mobipocket font switcher alpha - help needed

I created an installer package for switching the Mobipocket font to the nice and readable Liberation Serif font. But this is my first shell script, so I need someone with ssh acces to test it for me before releasing it to the public, as I would not want to brick anyones illiad.

Would this script work with the .ttf files in the script directory?

export scriptdir=`/usr/bin/dirname "$0"`
cd "$scriptdir"
rm /usr/share/fonts/truetype/ttf-western-default/Vera.ttf
cp Vera.ttf /usr/share/fonts/truetype/ttf-western-default/
rm /usr/share/fonts/truetype/ttf-western-default/VeraBd.ttf
cp VeraBd.ttf /usr/share/fonts/truetype/ttf-western-default/
rm /usr/share/fonts/truetype/ttf-western-default/VeraIt.ttf
cp VeraIt.ttf /usr/share/fonts/truetype/ttf-western-default/
rm /usr/share/fonts/truetype/ttf-western-default/VeraBI.ttf
cp VeraBI.ttf /usr/share/fonts/truetype/ttf-western-default/
I am attaching a preliminary version of the installer for testing purposes, please use it only if you have ssh, or feel confident that you can restore your illiad if things don't work out.

Attached Files
File Type: zip (503.8 KB, 249 views)
drago is offline   Reply With Quote