diff options
Diffstat (limited to 'community/gnome-mplayer/gnome-mplayer.install')
-rw-r--r-- | community/gnome-mplayer/gnome-mplayer.install | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/community/gnome-mplayer/gnome-mplayer.install b/community/gnome-mplayer/gnome-mplayer.install index 6b1b64bdd..35db81614 100644 --- a/community/gnome-mplayer/gnome-mplayer.install +++ b/community/gnome-mplayer/gnome-mplayer.install @@ -1,11 +1,22 @@ post_install() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +pre_upgrade() { + pre_remove $1 } post_upgrade() { - post_install + post_install $1 +} + +pre_remove() { + glib-compile-schemas usr/share/glib-2.0/schemas } post_remove() { - post_install + update-desktop-database -q + gtk-update-icon-cache -q -f -t usr/share/icons/hicolor } |