Small fixes

This commit is contained in:
rune 2023-03-22 11:45:06 +01:00
parent a6fa35171f
commit 32e0437011

View File

@ -3,7 +3,7 @@ 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 "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 -n1 -s -r -p $'Press space to continue or any other key to cancle\n' key read -n1 -s -r -p $'Press space to continue or any other key to cancle' key
if [ "$key" = ' ' ]; then if [ "$key" = ' ' ]; then
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