mirror of
				https://git.koehlerweb.org/frodovdr/guac-install
				synced 2025-10-31 10:56:39 +01:00 
			
		
		
		
	add architecture check for freerdp (#12)
* add shebang-row * use FreeRDP depending on current architecture * add architecture check
This commit is contained in:
		
				
					committed by
					
						 Chase Wright
						Chase Wright
					
				
			
			
				
	
			
			
			
						parent
						
							a153623ce8
						
					
				
				
					commit
					249da0ba33
				
			| @@ -20,6 +20,9 @@ else | ||||
|     JPEGTURBO="libjpeg62-turbo-dev" | ||||
| fi | ||||
|  | ||||
| # Get architecture - 32 bit or 64 bit | ||||
| if [ $(getconf LONG_BIT | grep 64) ]; then ARCH="x86_64";  else ARCH="i386"; fi | ||||
|  | ||||
| # Install Features | ||||
| apt-get update | ||||
| apt-get -y install build-essential libcairo2-dev $JPEGTURBO libpng12-dev libossp-uuid-dev libavcodec-dev libavutil-dev \ | ||||
| @@ -68,7 +71,7 @@ cd .. | ||||
| # Move files to correct locations | ||||
| mv guacamole-${VERSION}-incubating.war /etc/guacamole/guacamole.war | ||||
| ln -s /etc/guacamole/guacamole.war /var/lib/tomcat8/webapps/ | ||||
| ln -s /usr/local/lib/freerdp/* /usr/lib/x86_64-linux-gnu/freerdp/. | ||||
| ln -s /usr/local/lib/freerdp/* /usr/lib/$ARCH-linux-gnu/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/ | ||||
|  | ||||
|   | ||||
| @@ -1,3 +1,5 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| # Version Numbers of Guacamole and MySQL Connection/J to download | ||||
| VERSION="0.9.13" | ||||
| MCJVERSION="5.1.43" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user