mirror of
				https://git.koehlerweb.org/frodovdr/guac-install
				synced 2025-10-31 10:46:39 +01:00 
			
		
		
		
	grab SERVER after package install
Update to grab SERVER value after jq package is installed from repo
This commit is contained in:
		| @@ -1,7 +1,6 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
|  |  | ||||||
| VERSION="0.9.11" | VERSION="0.9.11" | ||||||
| SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred|rtrimstr("/")') |  | ||||||
|  |  | ||||||
| # Grab a password for MySQL Root | # Grab a password for MySQL Root | ||||||
| read -s -p "Enter the password that will be used for MySQL Root: " mysqlrootpassword | read -s -p "Enter the password that will be used for MySQL Root: " mysqlrootpassword | ||||||
| @@ -24,6 +23,8 @@ then | |||||||
|     exit |     exit | ||||||
| fi | fi | ||||||
|  |  | ||||||
|  | SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred|rtrimstr("/")') | ||||||
|  |  | ||||||
| # Add GUACAMOLE_HOME to Tomcat8 ENV | # Add GUACAMOLE_HOME to Tomcat8 ENV | ||||||
| echo "" >> /etc/default/tomcat8 | echo "" >> /etc/default/tomcat8 | ||||||
| echo "# GUACAMOLE EVN VARIABLE" >> /etc/default/tomcat8 | echo "# GUACAMOLE EVN VARIABLE" >> /etc/default/tomcat8 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user