From: Frank Brehm Date: Mon, 23 Mar 2020 14:06:21 +0000 (+0100) Subject: Fixing postinstall-scripts/init-puppet X-Git-Tag: 1.4.6~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=c85f22aab479be92248880eebe768938ffc243c9;p=pixelpark%2Fcreate-terraform.git Fixing postinstall-scripts/init-puppet --- diff --git a/postinstall-scripts/init-puppet b/postinstall-scripts/init-puppet index c3defee..1e7dddb 100755 --- a/postinstall-scripts/init-puppet +++ b/postinstall-scripts/init-puppet @@ -461,6 +461,10 @@ empty_oracle_repo_files() { local -a stems=("oracle-linux-ol7" "uek-ol7" "virt-ol7" "public-yum-ol7") local cleaned_old_repo="n" local stem= + local verbose_opt= + if [[ "${VERBOSE}" == "y" ]] ; then + verbose_opt=" --verbose" + fi for stem in "${stems[@]}" ; do if empty_repo_file "${stem}" ; then