From 37e2481c7f2e4052038331b58e3420c90113a4d5 Mon Sep 17 00:00:00 2001 From: Chase Wright Date: Thu, 18 Jan 2018 10:28:01 -0500 Subject: [PATCH] Fixing Revert (Wrong Line Numbers) --- guac-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guac-install.sh b/guac-install.sh index d03b08c..5af1032 100644 --- a/guac-install.sh +++ b/guac-install.sh @@ -141,8 +141,6 @@ ln -s /etc/guacamole/guacamole.war /var/lib/${TOMCAT}/webapps/ ln -s /usr/local/lib/freerdp/guac*.so /usr/lib/${BUILD_FOLDER}/freerdp/ cp mysql-connector-java-${MCJVERSION}/mysql-connector-java-${MCJVERSION}-bin.jar /etc/guacamole/lib/ cp guacamole-auth-jdbc-${VERSION}-incubating/mysql/guacamole-auth-jdbc-mysql-${VERSION}-incubating.jar /etc/guacamole/extensions/ -rm -rf /usr/share/${TOMCAT}/.guacamole -ln -s /etc/guacamole /usr/share/${TOMCAT}/.guacamole # Configure guacamole.properties echo "mysql-hostname: localhost" >> /etc/guacamole/guacamole.properties @@ -150,6 +148,8 @@ echo "mysql-port: 3306" >> /etc/guacamole/guacamole.properties echo "mysql-database: guacamole_db" >> /etc/guacamole/guacamole.properties echo "mysql-username: guacamole_user" >> /etc/guacamole/guacamole.properties echo "mysql-password: $guacdbuserpassword" >> /etc/guacamole/guacamole.properties +rm -rf /usr/share/${TOMCAT}/.guacamole +ln -s /etc/guacamole /usr/share/${TOMCAT}/.guacamole # restart tomcat service ${TOMCAT} restart