mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	repair BSD releases
grep: warning: stray \ before "
This commit is contained in:
		
							parent
							
								
									a273941834
								
							
						
					
					
						commit
						39fa42f5fc
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								quickget
									
										
									
									
									
								
							|  | @ -421,7 +421,7 @@ function editions_dietpi() { | |||
| function releases_dragonflybsd() { | ||||
|     # If you remove "".bz2" from the end of the searched URL, you will get only the current release - currently 6.4.0 | ||||
|     # We could add a variable so this behaviour is optional/switchable (maybe from option or env) | ||||
|     DBSD_RELEASES=$(curl -sL  http://mirror-master.dragonflybsd.org/iso-images/| grep -E -o '\"dfly-x86_64-.*_REL.iso.bz2\"' | grep -o -E '[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+' ) | ||||
|     DBSD_RELEASES=$(curl -sL  http://mirror-master.dragonflybsd.org/iso-images/| grep -E -o '"dfly-x86_64-.*_REL.iso.bz2"' | grep -o -E '[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+' ) | ||||
|     echo $DBSD_RELEASES | ||||
| } | ||||
| 
 | ||||
|  | @ -611,7 +611,7 @@ function releases_netboot() { | |||
| } | ||||
| 
 | ||||
| function releases_netbsd() { | ||||
|     local NBSD_RELEASES=$(curl -sL  http://cdn.netbsd.org/pub/NetBSD/iso/ | grep -o -E '\"[[:digit:]]+\.[[:digit:]]+/\"' |tr -d '"/' |sort -nr ) | ||||
|     local NBSD_RELEASES=$(curl -sL  http://cdn.netbsd.org/pub/NetBSD/iso/ | grep -o -E '"[[:digit:]]+\.[[:digit:]]+/"' |tr -d '"/' |sort -nr ) | ||||
|     echo ${NBSD_RELEASES} | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue