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

fix: rm flags for aws/dotnet/gcp install scripts #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/sh/scripts/install-azure
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ __numonic_install_azure() {
;;
-f|--force)
if [ -d "${install_dir}" ]; then
rm --recursive --force "${install_dir}"
rm -rf "${install_dir}"
fi

if command -v az 1>/dev/null 2>&1; then
Expand Down
4 changes: 2 additions & 2 deletions src/sh/scripts/install-dotnet
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ __numonic_install_dotnet() {
;;
-f|--force)
if [ -d "${install_dir}" ]; then
rm --recursive --force "${install_dir}"
rm -rf "${install_dir}"
fi

if [ -d "${HOME}/dotnet" ]; then
rm --recursive --force "${HOME}/dotnet"
rm -rf "${HOME}/dotnet"
fi

if command -v dotnet 1>/dev/null 2>&1; then
Expand Down
2 changes: 1 addition & 1 deletion src/sh/scripts/install-gcloud
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ __numonic_install_gcloud() {
--directory="${install_dir}" 1>/dev/null

# remove the temp directory
rm --recursive --force "${temp}"
rm -rf "${temp}"

"${install_dir}"/install.sh \
--command-completion false \
Expand Down