diff options
Diffstat (limited to 'community/libgnome-media-profiles/libgnome-media-profiles.install')
-rw-r--r-- | community/libgnome-media-profiles/libgnome-media-profiles.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/community/libgnome-media-profiles/libgnome-media-profiles.install b/community/libgnome-media-profiles/libgnome-media-profiles.install new file mode 100644 index 000000000..1c2bfeac0 --- /dev/null +++ b/community/libgnome-media-profiles/libgnome-media-profiles.install @@ -0,0 +1,21 @@ +pkgname=gnome-media-profiles + +post_install(){ + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + if [ "$(vercmp 3.0.0-4 "$2")" -eq 1 ]; then + usr/sbin/gconfpkg --uninstall libgnome-media-profiles + else + usr/sbin/gconfpkg --uninstall ${pkgname} + fi +} |