summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2008-10-29 18:58:48 +0100
committerMichael Vogt <mvo@debian.org>2008-10-29 18:58:48 +0100
commit1c8ab7200ec4527cd38d0b4d0ef847452f011915 (patch)
treea7d7f77293f9b2f089ba7a7fd9f84d3191c16ccc
parent640cfb9604fabe8eb5f634f27c9a9851348d5a17 (diff)
add fixme for the future flJustExtension
-rw-r--r--apt-pkg/acquire-item.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index ae8ff2205..09ea5da02 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -718,6 +718,10 @@ void pkgAcqIndex::Done(string Message,unsigned long Size,string Hash,
else if(compExt == "gz")
decompProg = "gzip";
// flExtensions returns the full name if no extension is found
+ // this is why we have this complicated compare operation here
+ // FIMXE: add a new flJustExtension() that return "" if no
+ // extension is found and use that above so that it can
+ // be tested against ""
else if(compExt == flNotDir(URI(Desc.URI).Path))
decompProg = "copy";
else {