mambabase: replace wget with curl for connectivity check to support libproxy (requires wget >= 1.14-2mamba)

This commit is contained in:
Silvan Calarco 2012-11-10 16:51:26 +01:00
parent 3932be0528
commit 948fdf45a6

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/curl --connect-timeout 30 -f http://www.openmamba.org/distribution/services/check.html$URL_OPTIONS /usr/bin/wget -T 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