add -L to mitigate issues

This commit is contained in:
nazunalika 2021-05-02 10:47:22 -07:00
parent bd1c8321df
commit 32a574c7f7
Signed by: label
GPG Key ID: 6735C0E1BD65D048
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ packages_to_swap=(
centos-linux-release)
packages_that_exist=($(rpm -q --queryformat="%{NAME}\n" "${packages_to_swap[@]}" | grep -v "not installed"))
release_to_install=($(curl -s ${current_url} | awk -F '"' '/rocky-repos|rocky-gpg-keys|rocky-release/ {print $2}'))
release_to_install=($(curl -L -s ${current_url} | awk -F '"' '/rocky-repos|rocky-gpg-keys|rocky-release/ {print $2}'))
# Release packages that are part of SIG's should be listed below when they are available.
#sigs_to_swap=()