diff --git a/src/shared/util.c b/src/shared/util.c index 9392477787b..3aa952fd77a 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -1539,6 +1539,10 @@ _pure_ static bool hidden_file_allow_backup(const char *filename) { endswith(filename, ".dpkg-old") || endswith(filename, ".dpkg-new") || endswith(filename, ".dpkg-tmp") || + endswith(filename, ".dpkg-dist") || + endswith(filename, ".dpkg-bak") || + endswith(filename, ".dpkg-backup") || + endswith(filename, ".dpkg-remove") || endswith(filename, ".swp"); }