From 61ed9d66140aa77e7bd2316dc6fc678eea8f729c Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 21 Nov 2019 17:34:30 +0100 Subject: [PATCH] Minor changes --- postinstall-scripts/update-all-packages | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/postinstall-scripts/update-all-packages b/postinstall-scripts/update-all-packages index 69a9b15..6ee5479 100755 --- a/postinstall-scripts/update-all-packages +++ b/postinstall-scripts/update-all-packages @@ -250,6 +250,7 @@ empty_repo_file() { local orig_repo="${repo_dir}/${stem}.repo" local bak_repo="${old_repo_dir}/${stem}.${i}.repo" + debug "Checking '${CYAN}${orig_repo}${NORMAL}' ..." local verbose_opt="" if [[ "${VERBOSE}" == "y" ]] ; then @@ -314,7 +315,7 @@ do_el_upgrade() { local awk_script='' local cleaned_old_repo="n" - empty_oracle_repo_files + empty_oracle_repo_files || true if grep '^ip_resolve *= *4' /etc/yum.conf >/dev/null ; then debug "Usage of IPv4 already configured" @@ -364,7 +365,7 @@ ok==1 {print "ip_resolve=4"; ok=0} debug "Executing: ${cmd}" eval ${cmd} - empty_oracle_repo_files + empty_oracle_repo_files || true echo info "Cleaning again ..." -- 2.39.5