mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
path-util: Add hidden suffixes for ucf (#3131)
ucf is a standard Debian helper for managing configuration file upgrades which need more interaction or elaborate merging than conffiles managed by dpkg. Ignore its temporary and backup files similarly to the *.dpkg-* ones to avoid creating units for them in generators. https://bugs.debian.org/775903
This commit is contained in:
parent
8eb851711f
commit
739d638a6e
@ -774,6 +774,9 @@ bool hidden_file_allow_backup(const char *filename) {
|
||||
endswith(filename, ".dpkg-bak") ||
|
||||
endswith(filename, ".dpkg-backup") ||
|
||||
endswith(filename, ".dpkg-remove") ||
|
||||
endswith(filename, ".ucf-new") ||
|
||||
endswith(filename, ".ucf-old") ||
|
||||
endswith(filename, ".ucf-dist") ||
|
||||
endswith(filename, ".swp");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user