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 e2c955bc0700594620a7c517d2a368c7593f296e..586f17af835dde6b615a594ce92e30d1ea296064 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");
 }