mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Qemu version check is now major/minor version only
This commit is contained in:
		
							parent
							
								
									d88ae70aa8
								
							
						
					
					
						commit
						780735cce6
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -598,8 +598,8 @@ if [ ! -e "${QEMU}" ] && [ ! -e "${QEMU_IMG}" ]; then | |||
|   exit 1 | ||||
| fi | ||||
| 
 | ||||
| QEMU_VER=$(${QEMU} -version | head -n1 | cut -d' ' -f4 | cut -d'(' -f1 | sed 's/\.//g') | ||||
| if [ "${QEMU_VER}" -lt 600 ]; then | ||||
| QEMU_VER=$(${QEMU} -version | head -n1 | cut -d' ' -f4 | cut -d'(' -f1 | sed 's/\.//g' | cut -c1-2) | ||||
| if [ "${QEMU_VER}" -lt 60 ]; then | ||||
|   echo "ERROR! Qemu 6.0.0 or newer is required, detected $(${QEMU} -version | head -n1 | cut -d' ' -f4 | cut -d'(' -f1)." | ||||
|   exit 1 | ||||
| fi | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue