From: Frank Brehm Date: Thu, 21 Nov 2019 16:34:30 +0000 (+0100) Subject: Minor changes X-Git-Tag: 1.3.10~1^2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=61ed9d66140aa77e7bd2316dc6fc678eea8f729c;p=pixelpark%2Fcreate-terraform.git Minor changes --- 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 ..."