mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	dh
This commit is contained in:
		
							parent
							
								
									d81410ebaa
								
							
						
					
					
						commit
						c2abbecf52
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								dh
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								dh
									
										
									
									
									
								
							|  | @ -27,14 +27,14 @@ if [ $1 = -t ] ; then | ||||||
|     if ! command -v fzf >/dev/null 2>&1; then |     if ! command -v fzf >/dev/null 2>&1; then | ||||||
|         echo "You are missing fzf..." && exit 255 |         echo "You are missing fzf..." && exit 255 | ||||||
|     fi |     fi | ||||||
|     printf ' Prepared VMs:\n-------------\n' |     printf ' Prepared VMs:\n-------------\n%s\n' | ||||||
|     # Check if there are any VMs |     # Check if there are any VMs | ||||||
|     if [ ${#vms[@]} -eq 0 ]; then |     if [ ${#vms[@]} -eq 0 ]; then | ||||||
|         echo "No VMs found." |         echo "No VMs found." | ||||||
|         exit 1 |         exit 1 | ||||||
|     fi |     fi | ||||||
|     # Print the names of the available VMs |     # Print the names of the available VMs | ||||||
|     printf "%s\n" "${vms[@]%.conf}" |     printf "%s\n" "${vms[@]%.*}" | ||||||
|     echo "-------------" |     echo "-------------" | ||||||
|     # Action prompt |     # Action prompt | ||||||
|     printf " Do you want to create a new VM? (c) |     printf " Do you want to create a new VM? (c) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue