Skip to content

Commit

Permalink
Update install.sh script to use longer template name
Browse files Browse the repository at this point in the history
Signed-off-by: ProbstenHias <[email protected]>
  • Loading branch information
ProbstenHias committed Apr 12, 2024
1 parent 0f3cb6a commit c55e0e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c55e0e6

Please sign in to comment.