Small fixes
This commit is contained in:
parent
0de69168af
commit
72fe8ee958
8
setup.sh
8
setup.sh
@ -10,13 +10,9 @@ 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
|
||||
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 -n1 -s -r -p $'Press space to continue or any other key to cancle\n' key
|
||||
if [ "$key" = ' ' ]; then
|
||||
read -n 1 -r -s -p "Press any key to continue..."
|
||||
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
|
||||
else
|
||||
echo "Install aborted by user!"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user