mirror of
https://github.com/systemd/systemd.git
synced 2025-01-13 17:18:18 +03:00
util: Add some missing hidden_file() suffixes
dpkg itself also uses *.dpkg-dist, while .dpkg-{bak,backup,remove} are being used by dpkg-maintscript-helper.
This commit is contained in:
parent
29e0e6d8c1
commit
c7088e4999
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user