Check if config files were changed during package installation

2023-08-16 Thread Олег Михайлов
I want to create a package, which acts in the following manner: - If configs were not changed by dpkg during installation, restart service immediately after installation; - If configs were changed by dpkg during installation, do not restart service (either stop, or do not start). As far as I

Best way to handle config overrides in packages

2023-03-29 Thread Олег Михайлов
I have a case when I need to add multiple configuration files for another package into the system as parts of its split config. The thing is, I need to remove them when I remove my package because they include lines which are only valid when the package is installed. Is there any nice way to go