prepare-root.sh: use curl with "-L"
This commit is contained in:
		
							parent
							
								
									9e47b7aa3a
								
							
						
					
					
						commit
						3991253262
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -692,7 +692,7 @@ ln -fsnr "$sysroot"/usr/lib/systemd/system/systemd-udev-settle-dri.service \
 | 
				
			||||||
# Flathub
 | 
					# Flathub
 | 
				
			||||||
if [[ -d "$sysroot"/usr/share/flatpak ]]; then
 | 
					if [[ -d "$sysroot"/usr/share/flatpak ]]; then
 | 
				
			||||||
    mkdir -p "$sysroot"/usr/share/factory/var/lib/
 | 
					    mkdir -p "$sysroot"/usr/share/factory/var/lib/
 | 
				
			||||||
    curl https://flathub.org/repo/flathub.flatpakrepo -o "$sysroot"/usr/share/flatpak/flathub.flatpakrepo
 | 
					    curl -L https://dl.flathub.org/repo/flathub.flatpakrepo -o "$sysroot"/usr/share/flatpak/flathub.flatpakrepo
 | 
				
			||||||
    chroot "$sysroot" /usr/bin/flatpak remote-add --if-not-exists flathub /usr/share/flatpak/flathub.flatpakrepo
 | 
					    chroot "$sysroot" /usr/bin/flatpak remote-add --if-not-exists flathub /usr/share/flatpak/flathub.flatpakrepo
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue