summaryrefslogtreecommitdiff
path: root/src/shared/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-11 15:32:09 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-11 15:32:09 +0200
commit0cdfd26ef826f8a595ab7d85ebc37894f4f3d940 (patch)
treedff7849c53979de62995ef7b5475c5152df8ca33 /src/shared/util.c
parent6a5c7b7e41a036bfdc2474b4583fcfdd358a6db6 (diff)
util: avoid considering dpkg temporary files relevant for anything
https://bugs.freedesktop.org/show_bug.cgi?id=82453
Diffstat (limited to 'src/shared/util.c')
-rw-r--r--src/shared/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index e2c955bc07..586f17af83 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -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");
}