From 2a3a15f8f4a460a50e8fcfc45e1c0cc8b846d7fa Mon Sep 17 00:00:00 2001 From: root Date: Mon, 5 Sep 2016 00:09:03 +0300 Subject: [PATCH] Relocate update check to Github repo. --- fluxion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluxion b/fluxion index c330bb5..3e58ef4 100755 --- a/fluxion +++ b/fluxion @@ -83,7 +83,7 @@ airmon # Check Updates function checkupdatess { - revision_online="$(timeout -s SIGTERM 20 curl -L "https://sites.google.com/site/deltaxflux/fluxion" 2>/dev/null| grep "^revision" | cut -d "=" -f2)" + revision_online="$(timeout -s SIGTERM 20 curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/fluxion" 2>/dev/null| grep "^revision" | cut -d "=" -f2)" if [ -z "$revision_online" ]; then echo "?">$DUMP_PATH/Irev else @@ -577,7 +577,7 @@ if [ $FLUX_DEBUG != 1 ]; then if [ "$revision" != "$revision_online" ]; then cp $0 $HOME/flux_rev-$revision.backup - curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0" -L https://sites.google.com/site/deltaxflux/fluxion -s -o $0 + curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/fluxion" -s -o $0 echo echo echo -e ""$red"