Updater implementation for FTL

This commit is contained in:
DL6ER 2017-02-22 10:43:13 +01:00
parent dcb9797f35
commit af2893d2ce
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD
2 changed files with 28 additions and 2 deletions

View file

@ -1157,8 +1157,7 @@ FTLinstall() {
local binary="${1}"
local latesttag
local orig_dir
echo ":::"
echo -n "::: Installing FTL... "
echo -n "::: Installing FTL... "
orig_dir="${PWD}"
latesttag=$(curl -sI https://github.com/pi-hole/FTL/releases/latest | grep "Location" | awk -F '/' '{print $NF}')