Small fixes

This commit is contained in:
rune 2023-03-22 12:08:08 +01:00
parent ca30ffea95
commit 0b1dd9c2c7

View File

@ -6,11 +6,11 @@
# GPLv3 Rune Olsen (https://blog.rune.pm) 2023 # 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/ddns.py && wget https://gitlab.pm/rune/ddns/raw/branch/main/requirements.txt
wget https://gitlab.pm/rune/ddns/raw/branch/main/requirements.txt
echo "ddns downloaded. Moving to /usr/local/bin and setting execute (run) rights on app." 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 "Your computer will ask for password since the rest of the install is done with sudo."
read -n 1 -r -s -p $'Press enter to continue...\n' echo "Press any key to continue. Press ctrl+c to cancel"
read -n 1
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