Author: nextgens Date: 2006-04-06 10:41:00 +0000 (Thu, 06 Apr 2006) New Revision: 8479
Modified: trunk/apps/installer/installclasspath/linux/update.sh Log: install: more work on the update script (https://bugs.freenetproject.org/view.php?id=223) ... still far away from beeing perfect Modified: trunk/apps/installer/installclasspath/linux/update.sh =================================================================== --- trunk/apps/installer/installclasspath/linux/update.sh 2006-04-05 23:40:51 UTC (rev 8478) +++ trunk/apps/installer/installclasspath/linux/update.sh 2006-04-06 10:41:00 UTC (rev 8479) @@ -18,7 +18,14 @@ echo "Your freenet node is up to date" fi -wget -N -o /dev/null https://emu.freenetproject.org/svn/trunk/apps/installer/installclasspath/linux/update.sh -O update2.sh +# see https://bugs.freenetproject.org/view.php?id=223 +# we can't afford a valid non-selfsigned SSL certificate :/ +if [[ $(wget --version | head -n1 | cut -d" " -f3 | cut -d"." -f2) -ge 10 ]] +then + NOCERT="--no-check-certificate " +fi + +wget $NOCERT -N -o /dev/null https://emu.freenetproject.org/svn/trunk/apps/installer/installclasspath/linux/update.sh -O update2.sh diff --brief update.sh update2.sh if [[ $? -ne 0 ]] then
