Diff for /loncom/html/adm/jsMath/commands between versions 1.4 and 1.5

version 1.4, 2006/06/27 16:50:02 version 1.5, 2013/01/10 05:35:38
Line 1 Line 1
 unzip -q -o -d $1 jsMath-fonts-1.3.zip  currfontsversion=0.0
   admdir='/home/httpd/html/adm'
   jsmathdir="$admdir/jsMath"
   if [ -e $jsmathdir]
   then
       if [ -e $jsmathdir/FONTSVERSION" ]
       then
           currfontsversion=`cat $jsmathdir/FONTSVERSION`
       fi
   fi
   newfontsversion=`cat FONTSVERSION`
   comparison=`echo "$newfontsversion > $currfontsversion" | bc`
   if [ $comparison -gt 0 ]
   then
     if [ -e $jsmathdir ]
     then
         rm -rf $jsmathdir
     fi
     unzip -q -o -d $admdir jsMath-fonts-1.3.zip
     cp FONTSVERSION $jsmathdir/FONTSVERSION
     chown -R www:www $jsmathdir
     find $jsmathdir -type d -exec chmod u=rwx,go-rwx {} \;
     sleep 1
   fi
   

Removed from v.1.4  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>