From 03e5ed9221e34da1c47d56b2d657cf488c965c3f Mon Sep 17 00:00:00 2001 From: William Todt Date: Sun, 6 Mar 2016 17:30:13 +0400 Subject: [PATCH] Update check updates function --- kali/fluxion | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/kali/fluxion b/kali/fluxion index e807e66..05fd949 100644 --- a/kali/fluxion +++ b/kali/fluxion @@ -482,22 +482,22 @@ if [ $FLUX_DEBUG != 1 ]; then spinner "$!" revision_online=$(cat $DUMP_PATH/Irev) echo -e ""$white" [${red2}${revision_online}$white"$transparent"]" - if [ "$revision_online" != "?" ]; 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 - echo - echo - echo -e ""$red" -Updated successfully! Restarting the script to apply the changes ..."$transparent"" - sleep 5 - chmod +x $0 - exec $0 - - fi - fi +# if [ "$revision_online" != "?" ]; 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 +# echo +# echo +# echo -e ""$red" +#Updated successfully! Restarting the script to apply the changes ..."$transparent"" +# sleep 5 +# chmod +x $0 +# exec $0 +# +# fi +# fi echo "" tput cnorm sleep 2