change update urls

This commit is contained in:
STRSHR 2017-04-18 21:47:23 +03:00
parent dfa1d2166f
commit 5709530e38
1 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ airmon
# Check Updates # Check Updates
function checkupdatess { 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/strasharo/fluxion/master/fluxion" 2>/dev/null| grep "^revision" | cut -d "=" -f2)"
if [ -z "$revision_online" ]; then if [ -z "$revision_online" ]; then
echo "?">$DUMP_PATH/Irev echo "?">$DUMP_PATH/Irev
else else
@ -801,7 +801,7 @@ if [ $FLUX_DEBUG != 1 ]; then
sleep 0.1 sleep 0.1
echo -e $red" FLUX "$white""$version" (rev. "$green "$revision"$white") "$yellow"by "$white" deltax" echo -e $red" FLUX "$white""$version" (rev. "$green "$revision"$white") "$yellow"by "$white" deltax"
sleep 0.1 sleep 0.1
echo -e $green " Page:"$red" https://github.com/deltaxflux/fluxion "$transparent echo -e $green " Page:"$red" https://github.com/strasharo/fluxion "$transparent
sleep 0.1 sleep 0.1
echo -n " Latest rev." echo -n " Latest rev."
tput civis tput civis
@ -821,7 +821,7 @@ if [ $FLUX_DEBUG != 1 ]; then
doupdate=${doupdate:-"Y"} doupdate=${doupdate:-"Y"}
if [ "$doupdate" = "Y" ]; then if [ "$doupdate" = "Y" ]; then
cp $0 $HOME/flux_rev-$revision.backup cp $0 $HOME/flux_rev-$revision.backup
curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/fluxion" -s -o $0 curl "https://raw.githubusercontent.com/strasharo/fluxion/master/fluxion" -s -o $0
echo echo
echo echo
echo -e ""$red" echo -e ""$red"