Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install.sh script to use longer template name #762

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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