add install script
This commit is contained in:
		
							parent
							
								
									af365474a7
								
							
						
					
					
						commit
						3eb5197ba5
					
				
							
								
								
									
										12
									
								
								instaler_client.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								instaler_client.sh
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | |||||||
|  | echo Contraseña: | ||||||
|  | read -s pas | ||||||
|  | qmake -makefile ClienteTFG.pro && make -j$(nproc) | ||||||
|  | echo $pas | sudo -S mv ClienteTFG /usr/bin | ||||||
|  | echo $pas | sudo -S chmod a+x /usr/bin/ClienteTFG | ||||||
|  | echo $pas | sudo -S echo "security=yes" >> /etc/clientRemoteBuilds/config | ||||||
|  | echo "write a port" | ||||||
|  | read port | ||||||
|  | echo $pas | sudo -S echo "port=$port" >> /etc/clientRemoteBuilds/config | ||||||
|  | echo "write a host" | ||||||
|  | read host | ||||||
|  | echo $pas | sudo -S echo "host=$host" >> /etc/clientRemoteBuilds/config | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user