summaryrefslogtreecommitdiffstats
path: root/about/about-mageia
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-03-01 16:55:25 -0800
committerDan Fandrich <danf@mageia.org>2024-03-01 16:55:25 -0800
commit3264eae94bcca50126624da9b6db57f966a251e7 (patch)
tree954a2f54cc93079a90baaae8fa3022cb16e115d0 /about/about-mageia
parent052c0fe7301201f4f4254b92c5f9c47ca9eed7c6 (diff)
downloadindexhtml-3264eae94bcca50126624da9b6db57f966a251e7.tar
indexhtml-3264eae94bcca50126624da9b6db57f966a251e7.tar.gz
indexhtml-3264eae94bcca50126624da9b6db57f966a251e7.tar.bz2
indexhtml-3264eae94bcca50126624da9b6db57f966a251e7.tar.xz
indexhtml-3264eae94bcca50126624da9b6db57f966a251e7.zip
Switch http: links to https:HEADmaster
Diffstat (limited to 'about/about-mageia')
-rwxr-xr-xabout/about-mageia8
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