Annotation of loncom/html/adm/geogebra/commands, revision 1.1

1.1     ! www         1: currversion=0.0
        !             2: if [ -e "$1/VERSION" ]
        !             3: then
        !             4:   currversion=`cat $1/VERSION`
        !             5: fi
        !             6: newversion=`cat VERSION`
        !             7: comparison=`echo "$newversion > $currversion" | bc`
        !             8: if [ $comparison -gt 0 ]
        !             9: then
        !            10:   rm -rf $1/
        !            11:   tar -xvf geogebra_html5.tar.gz
        !            12:   mv web $1
        !            13:   cp VERSION $1/VERSION
        !            14:   chown -R www:www $1
        !            15:   find $1 -type d -exec chmod u=rwx,go-rwx {} \;
        !            16: fi

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