From: Lennart Poettering <lennart@poettering.net>
Date: Mon, 11 Aug 2014 15:32:09 +0200
Subject: util: avoid considering dpkg temporary files relevant for anything

https://bugs.freedesktop.org/show_bug.cgi?id=82453

(cherry picked from commit 0cdfd26ef826f8a595ab7d85ebc37894f4f3d940)
---
 src/shared/util.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/shared/util.c b/src/shared/util.c
index 03a5860..103bf2a 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -1377,6 +1377,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");
 }
 
