Package: curl
Version: 7.13.2-2
Severity: important
Tags: patch

Hi,

The default apt-file.conf includes the line below:

ftp = curl --ftp-pasv -I "<uri>/dists/<dist>/Contents-<arch>.gz" 2>&1 | grep 
'^Content-Length:' > /dev/null || (curl --ftp-pasv -z "<cache>/<dest>" -R -o 
"<cache>/<dest>"  "<uri>/dists/<dist>/Contents-<arch>.gz" && chmod 644 
"<cache>/<dest>")  

which does not make any sense - it tries to download the Contents*.gz file 
only if it can't be downloaded ;)


Patch:
replace || with &&
 

Regards,
robert

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages curl depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libcurl3                    7.13.2-2     Multi-protocol file transfer libra
ii  libidn11                    0.5.13-1.0   GNU libidn library, implementation
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to