You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			19 lines
		
	
	
		
			555 B
		
	
	
	
		
			Plaintext
		
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			555 B
		
	
	
	
		
			Plaintext
		
	
| 
								 
											5 years ago
										 
									 | 
							
								#!/bin/bash
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								function error {
							 | 
						||
| 
								 | 
							
								  echo -e "\\e[91m$1\\e[39m"
							 | 
						||
| 
								 | 
							
								  exit 1
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#file name for future updates
							 | 
						||
| 
								 | 
							
								filename='anydesk_6.0.1-1_armhf'
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#download the deb file
							 | 
						||
| 
								 | 
							
								wget https://download.anydesk.com/rpi/${filename}.deb || error "Failed to downloading file. Make sure 'wget' is installed and verify your Internet Network Connection"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Installing the software with permissions
							 | 
						||
| 
								 | 
							
								sudo apt install -y --fix-broken ~/${filename}.deb || error "Failed to install it using gdebi"
							 | 
						||
| 
								 | 
							
								
							 |