perform the repo changes for any upgrade

This commit is contained in:
m0duspwnens
2021-06-09 11:53:10 -04:00
parent 6e92e7283d
commit a82b174826

View File

@@ -249,9 +249,8 @@ masterunlock() {
preupgrade_changes_2.3.50_repo() { preupgrade_changes_2.3.50_repo() {
# We made repo changes in 2.3.50 and this prepares for that on upgrade # We made repo changes in 2.3.50 and this prepares for that on upgrade
echo "Checking to see if 2.3.50 repo changes are needed." echo "Making repo changes."
up_2.3.3X_to_2.3.50_repo
[[ "$INSTALLEDVERSION" == 2.3.30 || "$INSTALLEDVERSION" == 2.3.40 ]] && up_2.3.3X_to_2.3.50_repo
} }
preupgrade_changes() { preupgrade_changes() {
@@ -438,7 +437,7 @@ up_2.3.2X_to_2.3.30() {
} }
up_2.3.3X_to_2.3.50_repo() { up_2.3.3X_to_2.3.50_repo() {
echo "Performing 2.3.50 repo actions." echo "Performing repo changes."
if [[ "$OS" == "centos" ]]; then if [[ "$OS" == "centos" ]]; then
# Import GPG Keys # Import GPG Keys
gpg_rpm_import gpg_rpm_import