chiark / gitweb /
util: avoid considering dpkg temporary files relevant for anything
authorLennart Poettering <lennart@poettering.net>
Mon, 11 Aug 2014 13:32:09 +0000 (15:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Aug 2014 13:32:09 +0000 (15:32 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=82453

src/shared/util.c

index e2c955b..586f17a 100644 (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");
 }