fixed url and redirection
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
# * OF SUCH DAMAGE.
|
# * OF SUCH DAMAGE.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
export UPDT_URL="https://git.geoffray-levasseur.org/fatalerrors/profile"
|
export UPDT_URL="https://git.geoffray-levasseur.org/fatalerrors/profile/raw/branch/master"
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Check for profile updates
|
# Check for profile updates
|
||||||
@@ -46,8 +46,8 @@ check_updates()
|
|||||||
fi
|
fi
|
||||||
disp I "Checking for updates..."
|
disp I "Checking for updates..."
|
||||||
local vfile="/tmp/version"
|
local vfile="/tmp/version"
|
||||||
wget "$UPDT_URL/version" -O $vfile 2&>1 /dev/null || {
|
wget "$UPDT_URL/version" -O $vfile >/dev/null 2>&1 || {
|
||||||
disp E "Can\'t download version file, impossible to proceed!"
|
disp E "Can't download version file, impossible to proceed!"
|
||||||
return 5
|
return 5
|
||||||
}
|
}
|
||||||
if [[ -s /tmp/version ]]; then
|
if [[ -s /tmp/version ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user