File:  [LON-CAPA] / loncom / html / adm / geogebra / commands
Revision 1.1: download - view: text, annotated - select for diffs
Fri Aug 17 22:52:24 2012 UTC (12 years ago) by www
Branches: MAIN
CVS tags: HEAD
Installing the HTML5 version of GeoGebra.

currversion=0.0
if [ -e "$1/VERSION" ]
then
  currversion=`cat $1/VERSION`
fi
newversion=`cat VERSION`
comparison=`echo "$newversion > $currversion" | bc`
if [ $comparison -gt 0 ]
then
  rm -rf $1/
  tar -xvf geogebra_html5.tar.gz
  mv web $1
  cp VERSION $1/VERSION
  chown -R www:www $1
  find $1 -type d -exec chmod u=rwx,go-rwx {} \;
fi

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