mirror of
				https://git.koehlerweb.org/frodovdr/guac-install
				synced 2025-10-31 10:56:39 +01:00 
			
		
		
		
	Remove Tomcat8 & Modify Dep Checks
This commit is contained in:
		| @@ -7,10 +7,8 @@ MCJVERSION="5.1.43" | |||||||
| # Update apt so we can search apt-cache for newest tomcat version supported | # Update apt so we can search apt-cache for newest tomcat version supported | ||||||
| apt update | apt update | ||||||
|  |  | ||||||
| # tomcat8 is newest, tomcat7 and tomcat6 should work too | # tomcat8 seems to be broken, tomcat7 and tomcat6 should work | ||||||
| if [ $(apt-cache search "^tomcat8$" | wc -l) -gt 0 ]; then | if [ $(apt-cache search "^tomcat7$" | wc -l) -gt 0 ]; then | ||||||
|     TOMCAT="tomcat8" |  | ||||||
| elif [ $(apt-cache search "^tomcat7$" | wc -l) -gt 0 ]; then |  | ||||||
|     TOMCAT="tomcat7" |     TOMCAT="tomcat7" | ||||||
| else | else | ||||||
|     TOMCAT="tomcat6" |     TOMCAT="tomcat6" | ||||||
| @@ -30,7 +28,9 @@ read -s -p "Enter the password that will be used for the Guacamole database: " g | |||||||
| echo | echo | ||||||
|  |  | ||||||
| # Ubuntu and Debian have different names of the libjpeg-turbo library for some reason... | # Ubuntu and Debian have different names of the libjpeg-turbo library for some reason... | ||||||
| if [ `egrep -c "ID=ubuntu" /etc/os-release` -gt 0 ] | source /etc/lsb-release | ||||||
|  |  | ||||||
|  | if [ $DISTRIB_ID == "Ubuntu" ] | ||||||
| then | then | ||||||
|     JPEGTURBO="libjpeg-turbo8-dev" |     JPEGTURBO="libjpeg-turbo8-dev" | ||||||
| else | else | ||||||
| @@ -38,7 +38,7 @@ else | |||||||
| fi | fi | ||||||
|  |  | ||||||
| # Ubuntu 16.10 has a different name for libpng12-dev for some reason... | # Ubuntu 16.10 has a different name for libpng12-dev for some reason... | ||||||
| if [ `egrep -c 'VERSION="16.10' /etc/os-release` -gt 0 ] | if [ $DISTRIB_RELEASE == "16.10" ] | ||||||
| then | then | ||||||
|     LIBPNG="libpng-dev" |     LIBPNG="libpng-dev" | ||||||
| else | else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user