mirror of https://github.com/coddrago/Heroku
Fix NO_SUDO
parent
6458be92ae
commit
0aa8d5a843
|
@ -26,9 +26,10 @@ if (
|
||||||
print()
|
print()
|
||||||
print("Type force_insecure to ignore this warning")
|
print("Type force_insecure to ignore this warning")
|
||||||
print("Type no_sudo if your system has no sudo (Debian vibes)")
|
print("Type no_sudo if your system has no sudo (Debian vibes)")
|
||||||
if input("> ").lower() != "force_insecure":
|
inp = input('> ').lower()
|
||||||
|
if inp != "force_insecure":
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
elif input("> ").lower() != "no_sudo":
|
elif inp != "no_sudo":
|
||||||
os.environ["NO_SUDO"] = "1"
|
os.environ["NO_SUDO"] = "1"
|
||||||
print("Added NO_SUDO in your environment variables")
|
print("Added NO_SUDO in your environment variables")
|
||||||
restart()
|
restart()
|
||||||
|
|
Loading…
Reference in New Issue