Small fixes

This commit is contained in:
rune 2023-03-22 11:48:56 +01:00
parent 6b67acac4d
commit f9b81db550

View File

@ -1,10 +1,7 @@
#!/bin/bash #!/bin/bash
wget https://gitlab.pm/rune/ddns/src/branch/main/src/do-ddns/ddns.py wget https://gitlab.pm/rune/ddns/src/branch/main/src/do-ddns/ddns.py
wget https://gitlab.pm/rune/ddns/src/branch/main/src/do-ddns/requirements.txt wget https://gitlab.pm/rune/ddns/src/branch/main/src/do-ddns/requirements.txt
#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."
#read -n 1 -r -s -p "Press any key to continue..."
sudo mv ddns.py /usr/local/bin/ddns sudo mv ddns.py /usr/local/bin/ddns
sudo chmod +x /usr/local/bin/ddns sudo chmod +x /usr/local/bin/ddns
python3 pip3 -r requirements.txt python3 pip3 -r requirements.txt
exit 0 exit 0