From 604ed4290cc74424d98dccc72f39f445395074c0 Mon Sep 17 00:00:00 2001 From: rune Date: Wed, 22 Mar 2023 12:13:38 +0100 Subject: [PATCH] Small fixes --- setup.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/setup.sh b/setup.sh index ac3ddfb..87a4985 100644 --- a/setup.sh +++ b/setup.sh @@ -6,14 +6,12 @@ # GPLv3 Rune Olsen (https://blog.rune.pm) 2023 # -wget https://gitlab.pm/rune/ddns/raw/branch/main/ddns.py && wget https://gitlab.pm/rune/ddns/raw/branch/main/requirements.txt +wget https://gitlab.pm/rune/ddns/raw/branch/main/ddns.py & wget https://gitlab.pm/rune/ddns/raw/branch/main/requirements.txt sleep 5 echo "ddns downloaded. Moving to /usr/local/bin and setting execute (run) rights on app." echo "Your computer will ask for password since the rest of the install is done with sudo." echo "Press any key to continue. Press ctrl+c to cancel" +sleep 2 read -n 1 -sudo mv ddns.py /usr/local/bin/ddns -sudo chmod +x /usr/local/bin/ddns -python3 pip3 -r requirements.txt -rm requirements.txt -exit 0 \ No newline at end of file +sleep 5 +sudo mv ddns.py /usr/local/bin/ddns && sudo chmod +x /usr/local/bin/ddns && python3 pip3 -r requirements.txt && rm requirements.txt && exit 0 \ No newline at end of file