clockwerk-tools – Diff between revs 21 and 28

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 21 Rev 28
Line 88... Line 88...
88 echo "[Clockwerk] Changing permissions..." 88 echo "[Clockwerk] Changing permissions..."
89 chown -R www-data:www-data /var/www 89 chown -R www-data:www-data /var/www
90 service lighttpd restart 90 service lighttpd restart
91 fi 91 fi
92 fi 92 fi
-   93 if [ -d ../clockwerk-guacamole ]; then
-   94 cd ../clockwerk-guacamole/
-   95 svn update
-   96 echo "[Clockwerk] Updating guacamole..."
-   97 find /var/lib/tomcat6/webapps/guacamole/ -type f -o type d -exec rm -rf '{}' \;
-   98 cp -R * /var/lib/tomcat6/webapps/guacamole/
-   99 chown -R tomcat6:tomcat6 /var/lib/tomcat/webapps/guacamole
-   100 service tomcat6 restart
-   101 fi
93 popd 102 popd
94 dialog --yesno "The Clockwerk uses a few shell scripts that manage the virtual machine. These tools can be found in the clockwerk-tools/lib directory and when you run this script they are updated and copied into the filesystem. A safe answer would be yes since they make-up for the core functionality of the Clockwerk. Do you want to deploy the Clockwerk tools?" 10 70 103 dialog --yesno "The Clockwerk uses a few shell scripts that manage the virtual machine. These tools can be found in the clockwerk-tools/lib directory and when you run this script they are updated and copied into the filesystem. A safe answer would be yes since they make-up for the core functionality of the Clockwerk. Do you want to deploy the Clockwerk tools?" 10 70
95 if [ $? == "0" ]; then 104 if [ $? == "0" ]; then
96 echo "[Clockwerk] Deploying tools..." 105 echo "[Clockwerk] Deploying tools..."
97 if [ -x lib/osstrap ]; then 106 if [ -x lib/osstrap ]; then