diff options
Diffstat (limited to 'testing/gnome-control-center/gnome-control-center.install')
-rw-r--r-- | testing/gnome-control-center/gnome-control-center.install | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/testing/gnome-control-center/gnome-control-center.install b/testing/gnome-control-center/gnome-control-center.install index 8f0bc46fb..eb703319f 100644 --- a/testing/gnome-control-center/gnome-control-center.install +++ b/testing/gnome-control-center/gnome-control-center.install @@ -1,18 +1,19 @@ pkgname=gnome-control-center post_install() { - usr/sbin/gconfpkg --install ${pkgname} - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } pre_upgrade() { - pre_remove $1 + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + usr/sbin/gconfpkg --uninstall ${pkgname} + fi } -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} +post_upgrade() { + post_install $1 } post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + post_install $1 } |