Skip to content

Commit

Permalink
mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuel-quix committed Jun 18, 2024
1 parent 245329b commit a2c1dd9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ file_name="${os}-${arch}.${file_extension}" # the file name to download
downloaded_file="${downloadFolder}/${file_name}" # the file path to download
executable_folder="/usr/local/bin" # Eventually, the executable file will be placed here

# Create executable_folder if it does not exist
mkdir -p "${executable_folder}"

# if version is empty
if [ -z "$version" ]; then
asset_uri="${githubUrl}/${owner}/${repo}/releases/latest/download/${file_name}"
Expand Down Expand Up @@ -119,4 +122,4 @@ else
fi

echo "Run '${exe_name} --help' to get started"
exit 0
exit 0

0 comments on commit a2c1dd9

Please sign in to comment.