From 43252b852fd955f0db7e43a9599e8d96ea2ccf99 Mon Sep 17 00:00:00 2001 From: ProbstenHias Date: Fri, 12 Apr 2024 15:26:43 +0200 Subject: [PATCH] Update install.sh script to use longer template name Signed-off-by: ProbstenHias --- scripts/install/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install/install.sh b/scripts/install/install.sh index d5f833e0b..de2642e1b 100755 --- a/scripts/install/install.sh +++ b/scripts/install/install.sh @@ -250,7 +250,7 @@ if [ "$OFFLINE_INSTALL" = true ]; then fi if [ "${install_script}" == "" ];then - install_script=$(mktemp -t oci_cli_install_tmp_XXXX) || exit + install_script=$(mktemp -t oci_cli_install_tmp_XXXXXX) || exit echo "Downloading Oracle Cloud Infrastructure CLI install script from $INSTALL_SCRIPT_URL to $install_script." curl -# -f $INSTALL_SCRIPT_URL > $install_script if [ $? -ne 0 ]; then @@ -319,7 +319,7 @@ fi if [ "$need_to_install_python" = true ]; then # Many docker containers won't have sudo installed since they are already run as root. - if command -v dnf + if command -v dnf then echo "Attempting to install Python 3." $sudo_cmd dnf install $yum_opts python3