clockwerk-tools
/lib/upgrade-clockwerk |
@@ -90,6 +90,15 @@ |
service lighttpd restart |
fi |
fi |
if [ -d ../clockwerk-guacamole ]; then |
cd ../clockwerk-guacamole/ |
svn update |
echo "[Clockwerk] Updating guacamole..." |
find /var/lib/tomcat6/webapps/guacamole/ -type f -o type d -exec rm -rf '{}' \; |
cp -R * /var/lib/tomcat6/webapps/guacamole/ |
chown -R tomcat6:tomcat6 /var/lib/tomcat/webapps/guacamole |
service tomcat6 restart |
fi |
popd |
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 |
if [ $? == "0" ]; then |