Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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