diff options
Diffstat (limited to 'about/about-mageia')
-rwxr-xr-x | about/about-mageia | 8 |
1 files changed, 4 insertions, 4 deletions
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 |