From: Petr OspalĂ˝
Date: Tue, 15 Jan 2019 14:26:28 +0000 (+0100)
Subject: Fix bash-installer when .kube already exists
X-Git-Tag: 6.0.0-ONAP~344
X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=cde2f33dfcd9728240d37c80383534a5b6af5caf;p=oom%2Foffline-installer.git
Fix bash-installer when .kube already exists
Change-Id: I4944ffffce0890561291b2efa96b1df614f93332
Signed-off-by: Petr OspalĂ˝
Issue-ID: OOM-1581
---
diff --git a/bash/tools/common-functions.sh b/bash/tools/common-functions.sh
index 4ccb2069..6ffb42a7 100755
--- a/bash/tools/common-functions.sh
+++ b/bash/tools/common-functions.sh
@@ -254,7 +254,7 @@ install_files() {
cp "$APROJECT_DIR/resources/downloads/${binary}" /usr/local/bin/
chmod 755 "/usr/local/bin/${binary}"
done
- mkdir ~/.kube
+ mkdir -p ~/.kube
}
setup_vnc_server() {