Skip to content

Commit

Permalink
Honor NOSUDO in sys/install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed May 15, 2017
1 parent 8ccedf3 commit a059631
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ fi
NOSUDO=""
type sudo > /dev/null 2>&1 || NOSUDO=1
SUDO=sudo
[ -n "${NOSUDO}" ] && SUDO=

if [ "$(id -u)" = 0 ]; then
SUDO=""
else
Expand Down

0 comments on commit a059631

Please sign in to comment.