minor things
This commit is contained in:
		
							parent
							
								
									3ba572e999
								
							
						
					
					
						commit
						4cf48d23c8
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -2,7 +2,6 @@ | ||||||
| # Author: TheElectronWill | # Author: TheElectronWill | ||||||
| # This script downloads the latest version of Discord for linux, and creates a package with rpmbuild. | # This script downloads the latest version of Discord for linux, and creates a package with rpmbuild. | ||||||
| 
 | 
 | ||||||
| # Defines the needed paths |  | ||||||
| desktop_model="$PWD/discord.desktop" | desktop_model="$PWD/discord.desktop" | ||||||
| spec_file="$PWD/discord.spec" | spec_file="$PWD/discord.spec" | ||||||
| 
 | 
 | ||||||
|  | @ -69,7 +68,7 @@ ask_remove_dir() { | ||||||
| # If it doesn't exist, creates it. | # If it doesn't exist, creates it. | ||||||
| manage_dir() { | manage_dir() { | ||||||
| 	if [ -d "$1" ]; then | 	if [ -d "$1" ]; then | ||||||
| 		echo "The $2 directory already exist. It may contain outdated things." | 		echo "The $2 directory already exist. It may contain outdated data." | ||||||
| 		ask_remove_dir "$1" | 		ask_remove_dir "$1" | ||||||
| 	fi | 	fi | ||||||
| 	mkdir -p "$1" | 	mkdir -p "$1" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 TheElectronWill
						TheElectronWill