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 remember, if default configs in a package differ from previous
package configs, dialogue will be shown. Can I somehow automatically check
its result during package installation process and make it a condition in
postinst (or even solve the problem via 'rules' somehow)?

__
Best Regards,
        Oleg

Reply via email to