![]() ![]() | ![]() |
- Improve robustness by not relying on argument in script call in loncaapfiles.lpml - For rich text editor (ckeditor) do some clean up of old editors -- fckeditor and htmlarea, if installing on LON-CAPA server with long history - Add sleep to avoid error occasionally seen when running ./UPDATE - Eliminate warnings about missing directories - Include FONTSVERSION for jsMath Fonts and only unzip fonts .zip file if newer than FONTSVERSION.
1: currversion=0.0 2: webdir='/home/httpd/html/adm/geogebra/web' 3: if [ -e $webdir ] 4: then 5: if [ -e "$webdir/VERSION" ] 6: then 7: currversion=`cat $webdir/VERSION` 8: fi 9: fi 10: newversion=`cat VERSION` 11: comparison=`echo "$newversion > $currversion" | bc` 12: if [ $comparison -gt 0 ] 13: then 14: if [ -e $webdir ] 15: then 16: rm -rf $webdir 17: fi 18: tar -xzf geogebra_html5.tar.gz 19: mv web $webdir 20: cp VERSION $webdir/VERSION 21: chown -R www:www $webdir 22: find $webdir -type d -exec chmod u=rwx,go-rwx {} \; 23: sleep 1 24: fi