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?
Quote:
#!/bin/sh
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.
Thanks