Package: apt-file Severity: minor Tags: patch Hi,
The following patch from Ubuntu fixes a small typo in the apt-file.conf file. Please consider applying it. Thanks, James diff -pruN 2.0.8.2/apt-file.conf 2.0.8.2ubuntu2/apt-file.conf --- 2.0.8.2/apt-file.conf 2006-04-20 11:14:50.000000000 +0100 +++ 2.0.8.2ubuntu2/apt-file.conf 2006-12-07 03:08:05.000000000 +0000 @@ -18,7 +18,7 @@ destination = <host>_<path>_dists_<dist> http = curl -L -I "<uri>/dists/<dist>/Contents-<arch>.gz" 2>&1 | grep '^HTTP.*404' > /dev/null || (curl -L -z "<cache>/<dest>" -R -o "<cache>/<dest>_tmp" "<uri>/dists/<dist>/Contents-<arch>.gz" >/dev/null 2>&1 && (mv "<cache>/<dest>_tmp" "<cache>/<dest>" 2>&1 && chmod 644 "<cache>/<dest>") || (rm -f "<cache>/<dest>_tmp"; echo "Can't get <uri>/dists/<dist>/Contents-<arch>.gz")) ftp = curl -L --ftp-pasv -I "<uri>/dists/<dist>/Contents-<arch>.gz" 2>&1 | grep '^Content-Length:' > /dev/null && (curl -L --ftp-pasv -z "<cache>/<dest>" -R -o "<cache>/<dest>_tmp" "<uri>/dists/<dist>/Contents-<arch>.gz" >/dev/null 2>&1 && (mv "<cache>/<dest>_tmp" "<cache>/<dest>" 2>&1 && chmod 644 "<cache>/<dest>") || (rm -f "<cache>/<dest>_tmp"; echo "Can't get <uri>/dists/<dist>/Contents-<arch>.gz")) -# If you prefere wget uncomment following +# If you prefer wget uncomment following http2 = wget -N -P "<cache>" -O "<cache>/<dest>_tmp" "<uri>/dists/<dist>/Contents-<arch>.gz" >/dev/null 2>&1 && (mv "<cache>/<dest>_tmp" "<cache>/<dest>" && chmod 644 "<cache>/<dest>")|| (rm -f "<cache>/<dest>_tmp"; echo "<uri>/dists/<dist>/Contents-<arch>.gz not found") ftp2 = wget -N --passive-ftp -P "<cache>" -O "<cache>/<dest>_tmp" "<uri>/dists/<dist>/Contents-<arch>.gz" >/dev/null 2>&1 && ( mv "<cache>/<dest>_tmp" "<cache>/<dest>" && chmod 644 "<cache>/<dest>") || (rm -f "<cache>/<dest>_tmp"; echo "<uri>/dists/<dist>/Contents-<arch>.gz not found") -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]