I'm not sure that changing the configuration file on upgrade in the postinst the way it's done is a good idea. What if a sysadmin decided to remove those lines from the config file. Changing the package configuration should be enough, if users have not modified their configuration they will get the changes otherwise they should be able to do the change
I'm not sure that changing the configuration file on upgrade in the postinst the way it's done is a good idea. What if a sysadmin decided to remove those lines from the config file. Changing the package configuration should be enough, if users have not modified their configuration they will get the changes otherwise they should be able to do the change