Skip to content

Commit

Permalink
Fix preset update feature
Browse files Browse the repository at this point in the history
Signed-off-by: Branko Vukelic <branko@outernet.is>
  • Loading branch information
Branko Vukelic committed Aug 23, 2016
1 parent eac5cb0 commit 4443617
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions demod-presets.sh
Expand Up @@ -2,7 +2,7 @@

PREFIX="%PREFIX%"
PRESETS_FILE="$PREFIX/share/outernet/presets"
PRESETS_URL="https://raw.githubusercontent.com/Outernet-Project/outernet-linux-lband/master/profiles.sh"
PRESETS_URL="https://raw.githubusercontent.com/Outernet-Project/outernet-linux-lband/master/presets.sh"

. "$PRESETS_FILE"

Expand All @@ -27,8 +27,9 @@ exit 0
}

updateprofiles() {
printf "Fetching the profiles... "
if wget "$PRESETS_URL" -O "$PRESETS_FILE" >/dev/null 2>/dev/null; then
#printf "Fetching the profiles... "
printf "Fetching update from $PRESETS_URL: "
if wget --no-check-certificate -q "$PRESETS_URL" -O "$PRESETS_FILE"; then
echo "OK"
else
echo "FAIL"
Expand Down

0 comments on commit 4443617

Please sign in to comment.