On 11/21/13, 12:40 PM, Maura Dailey wrote:
This has come up before. When testing for the value of GConf checks,
I'd like to use the package install/remove script to test if GConf2 is
even installed. The xorg package check exists, but not one for GConf2.
In order of preference:
1. I add GConf2 to the list of packages that should be removed and
write one of those extend checks inside every gconf check. Profiles
can decide how they feel about GConf2. It could depend on Xorg.
2. I test for the presence of GConf2 in every gconf check.
3. I test for the presence of Xorg, under the assumption that GConf2
will also be installed.
Thoughts?
#1, and as noted don't add the check to a profile. Believe gconf is
provided by gdm, not xorg though:
$ rpm -ql xorg | grep gconf
$ rpm -ql gdm | grep gconf
/etc/gconf/schemas/gdm-simple-greeter.schemas
/var/lib/gdm/.gconf.mandatory
/var/lib/gdm/.gconf.mandatory/%gconf-tree.xml
/var/lib/gdm/.gconf.path