Skip to content

Commit

Permalink
fix: permission issue in downloading through wget
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ovi committed Aug 15, 2024
1 parent 32406ac commit 59f14a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common-utils-extras/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ EOF

# install yq
sudo -iu $_REMOTE_USER <<EOF
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_$ARCH -O /usr/bin/yq &&\
chmod +x /usr/bin/yq
sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_$ARCH -O /usr/bin/yq &&\
sudo chmod +x /usr/bin/yq
EOF

# cleanup
Expand Down

0 comments on commit 59f14a4

Please sign in to comment.