Update arch_install.sh
This commit is contained in:
		
							parent
							
								
									29d9329c15
								
							
						
					
					
						commit
						7c80798825
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -16,6 +16,7 @@ while true; do | ||||||
|   echo "2 - NVIDIA" |   echo "2 - NVIDIA" | ||||||
|   read -p "Add meg a választásod (1-2): " gpu_choice |   read -p "Add meg a választásod (1-2): " gpu_choice | ||||||
| 
 | 
 | ||||||
|  |   # Ha a bemenet érvényes (1 vagy 2), kilépünk a ciklusból | ||||||
|   if [[ "$gpu_choice" == "1" || "$gpu_choice" == "2" ]]; then |   if [[ "$gpu_choice" == "1" || "$gpu_choice" == "2" ]]; then | ||||||
|     break |     break | ||||||
|   else |   else | ||||||
|  | @ -32,6 +33,7 @@ while true; do | ||||||
|   echo "4 - Cinnamon telepítés" |   echo "4 - Cinnamon telepítés" | ||||||
|   read -p "Add meg a választásod (1-4): " de_choice |   read -p "Add meg a választásod (1-4): " de_choice | ||||||
| 
 | 
 | ||||||
|  |   # Ha a bemenet érvényes (1-4), kilépünk a ciklusból | ||||||
|   if [[ "$de_choice" =~ ^[1-4]$ ]]; then |   if [[ "$de_choice" =~ ^[1-4]$ ]]; then | ||||||
|     break |     break | ||||||
|   else |   else | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue