]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-worker.cc
support comments in debian/control parsing
[apt.git] / apt-pkg / acquire-worker.cc
index b5f52a3caf6781aaa62f751a57f82de25b962dbd..c2ee8cda39fdba8962fae476ad602cdc84e14464 100644 (file)
@@ -639,7 +639,7 @@ bool pkgAcquire::Worker::QueueItem(pkgAcquire::Queue::QItem *Item)
 
    if (RealFileExists(Item->Owner->DestFile))
    {
-      std::string SandboxUser = _config->Find("APT::Sandbox::User");
+      std::string const SandboxUser = _config->Find("APT::Sandbox::User");
       ChangeOwnerAndPermissionOfFile("Item::QueueURI", Item->Owner->DestFile.c_str(),
                                      SandboxUser.c_str(), "root", 0600);
    }