mambabase.kmdr: use curl instead of wget to check for openmamba website availability

This commit is contained in:
Silvan Calarco 2013-02-06 18:21:23 +01:00
parent 5311088a1d
commit 8bfb8d05d3

View File

@ -397,7 +397,7 @@ Released under the terms of the GNU GPL v3 license</string>
URL_OPTIONS="$URL_OPTIONS&amp;newinst=1" URL_OPTIONS="$URL_OPTIONS&amp;newinst=1"
} }
dcop @dcopid KommanderIf setChecked BackBox false dcop @dcopid KommanderIf setChecked BackBox false
/usr/bin/wget -T 30 http://www.openmamba.org/distribution/services/check.html$URL_OPTIONS -o /dev/null /usr/bin/curl -s -m 30 http://www.openmamba.org/distribution/services/check.html$URL_OPTIONS -o /dev/null
RET=$? RET=$?
if [ $RET -eq 0 ]; then if [ $RET -eq 0 ]; then
dcop @dcopid KommanderIf setVisible checkButton false dcop @dcopid KommanderIf setVisible checkButton false