summaryrefslogtreecommitdiff
path: root/cmdline/apt-helper.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-06-06 11:24:44 +0200
committerMichael Vogt <mvo@debian.org>2014-06-06 11:24:44 +0200
commit0dd2cbc08aefb73421d5aa31bc62184181a28c32 (patch)
tree841a6b9d3052a2efa4aa99395f5bbd6427816a72 /cmdline/apt-helper.cc
parentd91e3cfa1992599c088673ef68bcdfd4d0aedc85 (diff)
cmdline/apt-helper.cc: use less generic description/short-description
Diffstat (limited to 'cmdline/apt-helper.cc')
-rw-r--r--cmdline/apt-helper.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdline/apt-helper.cc b/cmdline/apt-helper.cc
index 2c1107d90..b0edafcbd 100644
--- a/cmdline/apt-helper.cc
+++ b/cmdline/apt-helper.cc
@@ -43,7 +43,8 @@ static bool DoDownloadFile(CommandLine &CmdL)
std::string hash;
if (CmdL.FileSize() > 3)
hash = CmdL.FileList[3];
- new pkgAcqFile(&Fetcher, download_uri, hash, 0, "desc", "short-desc",
+ // we use download_uri as descr and targetfile as short-descr
+ new pkgAcqFile(&Fetcher, download_uri, hash, 0, download_uri, targetfile,
"dest-dir-ignored", targetfile);
Fetcher.Run();
bool Failed = false;