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
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");
}