Am 01.11.24 um 15:13 schrieb Leon Fauster:
Am 01.11.24 um 14:25 schrieb Michael Catanzaro:


On Fri, Nov 1 2024 at 11:04:51 AM +01:00:00, Vojtěch Polášek <krec...@gmail.com> wrote:
Hello Michael,

this seems to be what I am searching for.

But any idea how to package this properly?

Is it enough to install the file and mention it in the %files section?

Yes.

Or do I have to run some %post command?

Nope!


I had the impression that globally installed configurations
(e.g. /etc/dconf/db/local.d/) should be "committed" with
# dconf update

Or is this already done by a reboot / logout/in ?


Here an current example

$ rpm -q --scripts ibus-1.5.25-5.el9.x86_64 |tail -2
posttrans scriptlet (using /bin/sh):
dconf update || :

--
Leon

--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to