From: Lennart Poettering Date: Mon, 11 Aug 2014 13:32:09 +0000 (+0200) Subject: util: avoid considering dpkg temporary files relevant for anything X-Git-Tag: v216~211 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=0cdfd26ef826f8a595ab7d85ebc37894f4f3d940 util: avoid considering dpkg temporary files relevant for anything https://bugs.freedesktop.org/show_bug.cgi?id=82453 --- diff --git a/src/shared/util.c b/src/shared/util.c index e2c955bc0..586f17af8 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"); }