version 1.5, 2013/01/10 05:35:38
|
version 1.6, 2013/01/11 15:27:23
|
Line 1
|
Line 1
|
currfontsversion=0.0 |
currfontsversion=0.0 |
admdir='/home/httpd/html/adm' |
admdir='/home/httpd/html/adm' |
jsmathdir="$admdir/jsMath" |
jsmathdir="$admdir/jsMath" |
if [ -e $jsmathdir] |
if [ -e $jsmathdir ] |
then |
then |
if [ -e $jsmathdir/FONTSVERSION" ] |
if [ -e "$jsmathdir/FONTSVERSION" ] |
then |
then |
currfontsversion=`cat $jsmathdir/FONTSVERSION` |
currfontsversion=`cat $jsmathdir/FONTSVERSION` |
fi |
fi |
Line 14 if [ $comparison -gt 0 ]
|
Line 14 if [ $comparison -gt 0 ]
|
then |
then |
if [ -e $jsmathdir ] |
if [ -e $jsmathdir ] |
then |
then |
rm -rf $jsmathdir |
if [ -e "$jsmathdir/fonts" ] |
|
then |
|
rm -rf $jsmathdir/fonts |
|
fi |
fi |
fi |
unzip -q -o -d $admdir jsMath-fonts-1.3.zip |
unzip -q -o -d $admdir jsMath-fonts-1.3.zip |
cp FONTSVERSION $jsmathdir/FONTSVERSION |
cp FONTSVERSION $jsmathdir/FONTSVERSION |