X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/7f58427b9584686f80cd5eccfdd02c1ace75518a..607bab3fe856d228f22e1cd96dbb7204e2f3375d:/apt-pkg/edsp/edspsystem.cc diff --git a/apt-pkg/edsp/edspsystem.cc b/apt-pkg/edsp/edspsystem.cc index 4c16f76d2..0d967863e 100644 --- a/apt-pkg/edsp/edspsystem.cc +++ b/apt-pkg/edsp/edspsystem.cc @@ -20,6 +20,7 @@ #include #include +#include #include #include @@ -57,8 +58,8 @@ public: if (tempDir.empty()) return; - unlink(tempStatesFile.c_str()); - unlink(tempPrefsFile.c_str()); + RemoveFile("DeInitialize", tempStatesFile); + RemoveFile("DeInitialize", tempPrefsFile); rmdir(tempDir.c_str()); }