say "This script is designed to ask you just enough questions to keep you involved in the process,"
say "This script is designed to ask you just enough questions to keep you involved in the process,"
say "while making it as easy as possible for you to get it going."
say "while making it as easy as possible for you to get it going."
say ""
say ""
say "${BLUE}press enter to continue${RESET}"
ask_for nothing "${BLUE}press enter to continue${RESET}"
read
if["$EUID" -eq 0];then
if! id -u > /dev/null;then
say "${RED}Woah there!${RESET} Seems you're running this script as a superuser."
say "${RED}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"
@ -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)" -eq 0];then
if id -u;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"