From 9e49e3e4d7b43986c6f55f41f3aec4e4bc824c58 Mon Sep 17 00:00:00 2001 From: Geoffray Levasseur Date: Fri, 6 Oct 2023 12:52:15 +0200 Subject: [PATCH] fixed url and redirection --- profile.d/updates.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/profile.d/updates.sh b/profile.d/updates.sh index fe83918..ad5b42f 100644 --- a/profile.d/updates.sh +++ b/profile.d/updates.sh @@ -33,7 +33,7 @@ # * 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 @@ -46,8 +46,8 @@ check_updates() fi disp I "Checking for updates..." local vfile="/tmp/version" - wget "$UPDT_URL/version" -O $vfile 2&>1 /dev/null || { - disp E "Can\'t download version file, impossible to proceed!" + wget "$UPDT_URL/version" -O $vfile >/dev/null 2>&1 || { + disp E "Can't download version file, impossible to proceed!" return 5 } if [[ -s /tmp/version ]]; then