Browse Source

flask sudo check

main
zen 3 years ago
parent
commit
7c0d0ecb50
  1. 2
      recipes/flask.sh

2
recipes/flask.sh

@ -31,7 +31,7 @@ say "Well, as an alchemy-themed toolkit, I must say: ${GREEN}good decision :)${R
say "" say ""
# Make sure this script isn't being run with sudo in front # Make sure this script isn't being run with sudo in front
if id -u; then if ! id -u > /dev/null; then
say "${RED}${BOLD}Woah there!${RESET} Seems you're running this script as a superuser." say "${RED}${BOLD}Woah there!${RESET} Seems you're running this script as a superuser."
say "" say ""
say "That might cause some issues with permissions and whatnot. Run this script as your default user (without sudo) and I'll ask you when I need superuser permissions" say "That might cause some issues with permissions and whatnot. Run this script as your default user (without sudo) and I'll ask you when I need superuser permissions"

Loading…
Cancel
Save