fix update url

This commit is contained in:
root 2017-08-06 13:46:29 +03:00
parent f8c86f3e25
commit d011812b22
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ function conditional_clear() {
# Check Updates
function checkupdatess {
revision_online="$(timeout -s SIGTERM 20 curl "https://raw.githubusercontent.com/FluxionNetwork/fluxion/master/fluxion" 2>> $WORK_DIR/log| grep "^revision" | cut -d "=" -f2)"
revision_online="$(timeout -s SIGTERM 20 curl "https://raw.githubusercontent.com/FluxionNetwork/fluxion/master/fluxion.sh" 2>> $WORK_DIR/log| grep "^revision" | cut -d "=" -f2)"
if [ -z "$revision_online" ]; then
echo "?">$DUMP_PATH/Irev
else