util: avoid considering dpkg temporary files relevant for anything

https://bugs.freedesktop.org/show_bug.cgi?id=82453
This commit is contained in:
Lennart Poettering
2014-08-11 15:32:09 +02:00
parent 6a5c7b7e41
commit 0cdfd26ef8

View File

@@ -1422,6 +1422,7 @@ _pure_ static bool ignore_file_allow_backup(const char *filename) {
endswith(filename, ".rpmorig") ||
endswith(filename, ".dpkg-old") ||
endswith(filename, ".dpkg-new") ||
endswith(filename, ".dpkg-tmp") ||
endswith(filename, ".swp");
}