diff options
Diffstat (limited to 'extra/gnome-panel/gnome-panel.install')
-rw-r--r-- | extra/gnome-panel/gnome-panel.install | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/extra/gnome-panel/gnome-panel.install b/extra/gnome-panel/gnome-panel.install index 7fef8cf05..e3175df5e 100644 --- a/extra/gnome-panel/gnome-panel.install +++ b/extra/gnome-panel/gnome-panel.install @@ -1,34 +1,24 @@ pkgname=gnome-panel post_install() { - GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` - usr/bin/gconftool-2 --config-source="${GCONF_CONFIG_SOURCE}" --direct --load \ - etc/gconf/schemas/panel-default-setup.entries >/dev/null usr/sbin/gconfpkg --install ${pkgname} - + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } pre_upgrade() { - pre_remove $1 + pre_remove } post_upgrade() { - post_install $1 + post_install } pre_remove() { - GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` - if [ -f opt/gnome/etc/gconf/schemas/panel-default-setup.entries ]; then - usr/bin/gconftool-2 --config-source="${GCONF_CONFIG_SOURCE}" --direct --unload \ - opt/gnome/etc/gconf/schemas/panel-default-setup.entries >/dev/null - else - usr/bin/gconftool-2 --config-source="${GCONF_CONFIG_SOURCE}" --direct --unload \ - etc/gconf/schemas/panel-default-setup.entries > /dev/null - fi usr/sbin/gconfpkg --uninstall ${pkgname} } post_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } |