fedora-live-base.ks | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
New commits:
commit d440660c09ef3c1c6657a0ea7f2ba39798a4e09f
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Sun Sep 14 16:06:42 2008 -0400
Use GConf keys only for disabling packagekit update notification
The GConf keys for PackageKit now do the right thing for disabling checking
for updates and notifying the user about them. So use them rather than the
autostart hacked used in F9
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 6f76bf3..55f57cf 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -180,14 +180,11 @@ chkconfig --level 345 yum-updatesd off 2>/dev/null
# don't do packagekit checking by default
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t
string /apps/gnome-packagekit/frequency_get_updates never >/dev/null
+gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t
string /apps/gnome-packagekit/frequency_get_upgrades never >/dev/null
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t
string /apps/gnome-packagekit/frequency_refresh_cache never >/dev/null
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t
bool /apps/gnome-packagekit/notify_available false >/dev/null
-
-# apparently, the gconf keys aren't enough
-mkdir -p /home/fedora/.config/autostart
-echo "X-GNOME-Autostart-enabled=false" >>
/home/fedora/.config/autostart/gpk-update-icon.desktop
-chown -R fedora:fedora /home/fedora/.config
-
+gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t
bool /apps/gnome-packagekit/notify_distro_upgrades false >/dev/null
+gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t
bool /apps/gnome-packagekit/prompt_firmware false >/dev/null
# don't start cron/at as they tend to spawn things which are
Show replies by date