fix variable for curl

This commit is contained in:
nazunalika 2021-05-02 05:05:41 -07:00
parent 58de053cbc
commit efe8bb512e
Signed by: label
GPG Key ID: 6735C0E1BD65D048

View File

@ -22,7 +22,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 ${REPO_URL} | awk -F '"' '/rocky-repos|rocky-gpg-keys|rocky-release/ {print $2}'))
release_to_install=($(curl -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=()