redir dev updater to dev branch

This commit is contained in:
STRSHR 2016-10-08 11:50:52 +03:00
parent 1d3615659e
commit 2d106d623b
1 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ ipNmap=`ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*)
# Deauth duration during handshake capture
# oo
DEAUTHTIME="15"
revision=56
revision=57
version=0.23
IP=192.168.1.1
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
@ -91,7 +91,7 @@ airmon
# Check Updates
function checkupdatess {
revision_online="$(timeout -s SIGTERM 20 curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/fluxion" 2>/dev/null| grep "^revision" | cut -d "=" -f2)"
revision_online="$(timeout -s SIGTERM 20 curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/dev/fluxion" 2>/dev/null| grep "^revision" | cut -d "=" -f2)"
if [ -z "$revision_online" ]; then
echo "?">$DUMP_PATH/Irev
else
@ -586,7 +586,7 @@ if [ $FLUX_DEBUG != 1 ]; then
if [ "$revision" != "$revision_online" ]; then
cp $0 $HOME/flux_rev-$revision.backup
curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/fluxion" -s -o $0
curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/dev/fluxion" -s -o $0
echo
echo
echo -e ""$red"