# HG changeset patch # User Christophe Lincoln # Date 1488232903 -3600 # Node ID cfbb082f19f20155c3cb1ce33316bd1b383b87a3 # Parent cf6506c8f9ad319d36c932d2fd3f1340e1435058 Small fix to path in sup.cgi diff -r cf6506c8f9ad -r cfbb082f19f2 server/sup/sup.cgi --- a/server/sup/sup.cgi Mon Feb 27 22:50:53 2017 +0100 +++ b/server/sup/sup.cgi Mon Feb 27 23:01:43 2017 +0100 @@ -18,10 +18,10 @@ . /usr/lib/slitaz/httphelper.sh fi -#host="http://scn.slitaz.org/" -#scn="/home/slitaz/www/scn" -host="http://localhost/~pankso/cgi-bin/scn/" -scn="/home/pankso/Public/cgi-bin/scn" +host="http://scn.slitaz.org/" +scn="/home/slitaz/www/scn" +#host="http://localhost/~pankso/cgi-bin/scn/" +#scn="/home/pankso/Public/cgi-bin/scn" supdb="$content/sup" wok="$supdb/wok" diff -r cf6506c8f9ad -r cfbb082f19f2 sup --- a/sup Mon Feb 27 22:50:53 2017 +0100 +++ b/sup Mon Feb 27 23:01:43 2017 +0100 @@ -238,9 +238,11 @@ separator # Skip HTTP/1.1 404 Not Found: 2>/dev/null - if ! wget --spider -q ${mirror}/${pkgsdb} 2>/dev/null; then - gettext "Mirror is unreachable"; echo + if ! wget --spider -q ${mirror}/packages.sql 2>/dev/null; then + gettext "Mirror is unreachable"; newline fi + rm -f ${pkgsdb} + wget newline ;;