Skip to content

Commit

Permalink
used global variable to easily modify various variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Arief-AK committed May 27, 2024
1 parent 12840f9 commit 2678af5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from subprocess import run, Popen

TERMINAL = 'gnome-terminal'
DOCKER_INSTRUCTIONS_URL = "https://github.com/Arief-AK/sarax/blob/main/Docs/Sarax%20with%20Docker.md"

def open_terminal(command, terminal=TERMINAL):
if terminal == 'gnome-terminal':
Expand Down Expand Up @@ -53,7 +54,7 @@ def docker_config(system:str):
elif choice == 2:
install_docker_deps()
elif choice == 3:
print("\nFollow the updated instructions here : https://github.com/Arief-AK/sarax/blob/main/Docs/Sarax%20with%20Docker.md ")
print(f"\nFollow the updated instructions here : {DOCKER_INSTRUCTIONS_URL}")
elif choice == 4:
done = True
else:
Expand Down

0 comments on commit 2678af5

Please sign in to comment.