clockwerk-tools – Diff between revs 28 and 29
?pathlinks?
Rev 28 | Rev 29 | |||
---|---|---|---|---|
Line 92... | Line 92... | |||
92 | fi |
92 | fi |
|
93 | if [ -d ../clockwerk-guacamole ]; then |
93 | if [ -d ../clockwerk-guacamole ]; then |
|
94 | cd ../clockwerk-guacamole/ |
94 | cd ../clockwerk-guacamole/ |
|
95 | svn update |
95 | svn update |
|
96 | echo "[Clockwerk] Updating guacamole..." |
96 | echo "[Clockwerk] Updating guacamole..." |
|
97 | find /var/lib/tomcat6/webapps/guacamole/ -type f -o type d -exec rm -rf '{}' \; |
97 | rm -rf /var/lib/tomcat6/webapps/guacamole/* |
|
98 | cp -R * /var/lib/tomcat6/webapps/guacamole/ |
98 | cp -R * /var/lib/tomcat6/webapps/guacamole/ |
|
99 | chown -R tomcat6:tomcat6 /var/lib/tomcat/webapps/guacamole |
99 | chown -R tomcat6:tomcat6 /var/lib/tomcat6/webapps/guacamole |
|
100 | service tomcat6 restart |
100 | service tomcat6 restart |
|
101 | fi |
101 | fi |
|
102 | popd |
102 | popd |
|
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 |
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 |
|
104 | if [ $? == "0" ]; then |
104 | if [ $? == "0" ]; then |