Skip to content

Commit

Permalink
Merge pull request #4 from moneyforward/fix-sudo
Browse files Browse the repository at this point in the history
fix: remove sudo
  • Loading branch information
vinhyenvodoi98 authored Oct 26, 2023
2 parents 605d738 + 3e077fb commit d8d013e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/cancel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

# Update and install packages using apk on Alpine Linux
if command -v apk &> /dev/null; then
sudo apk update && sudo apk add jq curl
apk update && apk add jq curl

# Update and install packages using yum on CentOS
elif command -v yum &> /dev/null; then
sudo yum update && sudo yum install jq curl
yum update && yum install jq curl

# Update and install packages using apt on Debian-based systems
elif command -v apt-get &> /dev/null; then
sudo apt update && sudo apt install jq curl
apt update && apt install jq curl

# If none of the package managers are found
else
Expand Down

0 comments on commit d8d013e

Please sign in to comment.