> The problem is that it's not clear if you've modified a script manually or it was modified by the package manager.
Debian's dpkg can tell that. If an upgrade wants to install a new version of a config file (in /etc) which was also modified by the user, it will present a choice to keep the modified version or install the one from the package or even try to merge the changes together.
Control Centre: The systemd Linux init system (The H)
Posted May 9, 2012 7:53 UTC (Wed) by niner (subscriber, #26151)
[Link]
rpm detects this just the same, the only difference being that rpm packages specify what to do if the config file was changed (move the changed one aside or install the new one with a .rpmnew extension) which gives the user a less immediate choices but is great for unattended updates.