From 3264eae94bcca50126624da9b6db57f966a251e7 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 1 Mar 2024 16:55:25 -0800 Subject: Switch http: links to https: --- about/about-mageia | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'about') diff --git a/about/about-mageia b/about/about-mageia index f37d256..b499901 100755 --- a/about/about-mageia +++ b/about/about-mageia @@ -1,20 +1,20 @@ #!/bin/sh WGET="$(which wget)" -$WGET -q --tries=20 --timeout=10 http://www.google.com -O /tmp/google.idx &> /dev/null +$WGET -q --tries=20 --timeout=10 https://www.google.com -O /tmp/google.idx &> /dev/null if [ ! -s /tmp/google.idx ]; then echo "ERROR: No internet connection detected. In order to display About Mageia page you should have an working connection." exit 1 else for lang in `echo $LANG:$LANGUAGE | tr ':' ' ' | cut -d'_' -f1` ; do - $WGET -q --tries=20 --timeout=10 http://www.mageia.org/$lang/about -O /tmp/mageiaorg.idx &> /dev/null + $WGET -q --tries=20 --timeout=10 https://www.mageia.org/$lang/about -O /tmp/mageiaorg.idx &> /dev/null if [ ! -s /tmp/mageiaorg.idx ]; then echo "WARNING: There is no localized Mageia About web page; displaying English web page" - xdg-open "http://www.mageia.org/en/about" + xdg-open "https://www.mageia.org/en/about" else - xdg-open "http://www.mageia.org/$lang/about" + xdg-open "https://www.mageia.org/$lang/about" exit 0 fi done -- cgit v1.2.1