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.
		
		
		
		
		
			
		
			
	
	
		
			24 lines
		
	
	
		
			866 B
		
	
	
	
		
			Plaintext
		
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			866 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
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								mkdir AIW
							 | 
						||
| 
								 | 
							
								cd ~/AIW || error "Failed to enter directory!"
							 | 
						||
| 
								 | 
							
								wget 'https://raw.githubusercontent.com/spectrumgamer75/Bash-Scripts/master/ALL%20IS%20WELL%20(V2.0)/aiwrpi.sh' || error "Failed to download!"
							 | 
						||
| 
								 | 
							
								chmod +x 'aiwrpi.sh'
							 | 
						||
| 
								 | 
							
								echo "[Desktop Entry]
							 | 
						||
| 
								 | 
							
								Name=All Is Well
							 | 
						||
| 
								 | 
							
								GenericName=Update Helper and Fixer
							 | 
						||
| 
								 | 
							
								Comment= ALL IS WELL is a bash script that allows users to easily update and upgrade their repositories and packages on linux. It will also fix any broken packages and dependencies.
							 | 
						||
| 
								 | 
							
								Exec=$HOME/AIW/aiwrpi.sh
							 | 
						||
| 
								 | 
							
								Icon=$HOME/pi-apps/apps/All Is Well/icon-24.png
							 | 
						||
| 
								 | 
							
								Terminal=true
							 | 
						||
| 
								 | 
							
								StartupNotify=true
							 | 
						||
| 
								 | 
							
								Type=Application
							 | 
						||
| 
								 | 
							
								Categories=Utility;" > ~/.local/share/applications/aiw.desktop || error "Failed to create menu button!"
							 |