version 1.2, 2013/01/10 05:36:00
|
version 1.4, 2015/04/04 23:12:42
|
Line 14 then
|
Line 14 then
|
if [ -e $webdir ] |
if [ -e $webdir ] |
then |
then |
rm -rf $webdir |
rm -rf $webdir |
|
if [ -e "$webdir/geogebra_html5.tar.gz" ] |
|
then |
|
rm "$webdir/geogebra_html5.tar.gz" |
|
fi |
fi |
fi |
tar -xzf geogebra_html5.tar.gz |
tar -xzf geogebraweb_4.4.tar.gz |
mv web $webdir |
mv web $webdir |
cp VERSION $webdir/VERSION |
cp VERSION $webdir/VERSION |
chown -R www:www $webdir |
chown -R www:www $webdir |
find $webdir -type d -exec chmod u=rwx,go-rwx {} \; |
find $webdir -type d -exec chmod u=rwx,go-rwx {} \; |
|
if [ -e "$webdir/geogebraweb_4.4.tar.gz" ] |
|
then |
|
rm "$webdir/geogebraweb_4.4.tar.gz" |
|
fi |
sleep 1 |
sleep 1 |
fi |
fi |