From 5f675974cb4bfaff273a12f4ab04757bbd92501c Mon Sep 17 00:00:00 2001 From: rune Date: Wed, 22 Mar 2023 12:19:45 +0100 Subject: [PATCH] Small fixes --- README.md | 8 +------- setup.sh | 14 -------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 setup.sh diff --git a/README.md b/README.md index c2e0433..6726efa 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,7 @@ _DDNS_ is a dynamic DNS helper for Digital Ocean users to utilize their DO accou ## Installation -Install with -``` -wget -O - https://gitlab.pm/rune/test/raw/branch/main/setup.sh | bash -``` -#### Manual install - -Download the latest relase from https://gitlab.pm/rune/ddns/releases. Unzip and move to a folder in you path (ease of use). You can alos rename the file ```ddns.py``` to just ```ddns``` and make the file executable with ```chmod +x ddns``` +Download the latest relase from https://gitlab.pm/rune/ddns/releases. Unzip and move to a folder in you path (ease of use). You can alos rename the file ```ddns.py``` to just ```ddns``` and make the file executable with ```chmod +x ddns```. To install required python modules run ```pip3 -r requirements.txt``` ## Usage diff --git a/setup.sh b/setup.sh deleted file mode 100644 index 71353ea..0000000 --- a/setup.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -# -# Install script for Digital Ocean ddns script. You can also do this manually. -# Check https://gitlab.pm/rune/ddns -# -# 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 -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 && sleep 5 -sudo mv ddns.py /usr/local/bin/ddns && sudo chmod +x /usr/local/bin/ddns && sudo pip3 -r requirements.txt && rm requirements.txt && exit 0 \ No newline at end of file