summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-08-19 22:22:59 -1000
committerSam Bingner <sam@bingner.com>2019-08-19 22:22:59 -1000
commita8ce4c3354984b6bd47b88785faacc9f845c8464 (patch)
tree152ea4a7e222fce3215b56f7dc8be783e43d31ee
parentbb4b56650746f18f9ea7f821eeb5c3d0cedc9976 (diff)
Don't remove auxfiles if made by newer apt
-rw-r--r--apt-pkg/acquire.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index 8df7a3239..2ef90052d 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -803,6 +803,7 @@ bool pkgAcquire::Clean(string Dir)
// Skip some files..
if (strcmp(Dir->d_name,"lock") == 0 ||
strcmp(Dir->d_name,"partial") == 0 ||
+ strcmp(Dir->d_name,"auxfiles") == 0 ||
strcmp(Dir->d_name,"lost+found") == 0 ||
strcmp(Dir->d_name,".") == 0 ||
strcmp(Dir->d_name,"..") == 0)