mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Fallback to macrecovery from Quickemu project
This commit is contained in:
		
							parent
							
								
									5fd8271a79
								
							
						
					
					
						commit
						78233a50ce
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		
							
								
								
									
										7
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										7
									
								
								quickget
									
										
									
									
									
								
							|  | @ -778,13 +778,12 @@ function get_macos() { | ||||||
|     elif [ -x /usr/bin/macrecovery ]; then |     elif [ -x /usr/bin/macrecovery ]; then | ||||||
|         MACRECOVERY="/usr/bin/macrecovery" |         MACRECOVERY="/usr/bin/macrecovery" | ||||||
|     else |     else | ||||||
|         web_get "https://raw.githubusercontent.com/acidanthera/OpenCorePkg/master/Utilities/macrecovery/macrecovery.py" "${HOME}/.quickemu" |         web_get "https://raw.githubusercontent.com/wimpysworld/quickemu/master/macrecovery" "${HOME}/.quickemu" | ||||||
|         MACRECOVERY="python3 ${HOME}/.quickemu/macrecovery.py" |         MACRECOVERY="python3 ${HOME}/.quickemu/macrecovery" | ||||||
|         sed -i 's/\<env python\>/env python3/g' "${MACRECOVERY}" |  | ||||||
|     fi |     fi | ||||||
| 
 | 
 | ||||||
|     if [ -z "${MACRECOVERY}" ]; then |     if [ -z "${MACRECOVERY}" ]; then | ||||||
|         echo "ERROR! Can not find a usable macrecovery.py." |         echo "ERROR! Can not find a usable macrecovery." | ||||||
|         exit 1 |         exit 1 | ||||||
|     fi |     fi | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue