]> git.saurik.com Git - apt.git/blobdiff - methods/file.cc
eipp: add Allow-Temporary-Remove-of-Essentials
[apt.git] / methods / file.cc
index 36f3c39b9b8c2a9fef1fc25893e994f43263d0e6..5cbf1924ed37a188062a632ab7433b5289025005 100644 (file)
@@ -15,7 +15,6 @@
 // Include Files                                                       /*{{{*/
 #include <config.h>
 
-#include <apt-pkg/acquire-method.h>
 #include <apt-pkg/aptconfiguration.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/hashes.h>
@@ -129,8 +128,5 @@ bool FileMethod::Fetch(FetchItem *Itm)
 
 int main()
 {
-   setlocale(LC_ALL, "");
-
-   FileMethod Mth;
-   return Mth.Run();
+   return FileMethod().Run();
 }