Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kdetesting.git;a=commitdiff;h=9cf8f2ace4d8f2af93d2b7e7261efec11f908d70

commit 9cf8f2ace4d8f2af93d2b7e7261efec11f908d70
Author: exceed <exceed.ced...@gmail.com>
Date:   Thu Jan 14 00:08:39 2010 +0100

rosegarden-10.02_beta-2-i686

* Fixed mime update

diff --git a/source/kde-extra/rosegarden/FrugalBuild 
b/source/kde-extra/rosegarden/FrugalBuild
index 4f65647..21b1802 100644
--- a/source/kde-extra/rosegarden/FrugalBuild
+++ b/source/kde-extra/rosegarden/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=rosegarden
pkgver=10.02_beta
-pkgrel=1
+pkgrel=2
pkgdesc="Rosegarden is a professional audio MIDI sequencer,score editor,music 
composition and editing environment."
conflicts=('rosegarden-4')
replaces=('rosegarden-4')
@@ -21,4 +21,5 @@ sha1sums=('979920acd8d88f8e7301c733b10b7ea256d00168')
build()
{
Fbuild
+       Frm 
/usr/share/mime/{globs,globs2,icons,magic,mime.cache,subclasses,treemagic,types,aliases,generic-icons,XMLnamespaces}
}
diff --git a/source/kde-extra/rosegarden/rosegarden.install 
b/source/kde-extra/rosegarden/rosegarden.install
index b39e067..dd56590 100644
--- a/source/kde-extra/rosegarden/rosegarden.install
+++ b/source/kde-extra/rosegarden/rosegarden.install
@@ -9,23 +9,25 @@ post_install()
echo "Adding snd_seq_midi to /etc/sysconfig/modules.."
echo "snd_seq_midi" >> /etc/sysconfig/modules
fi
+       /usr/bin/update-mime-database /usr/share/mime
}

post_upgrade()
{
post_install $1
+       /usr/bin/update-mime-database /usr/share/mime
}

post_remove()
{
-
-echo ""
-echo "::INFO::"
-echo "You removed rosegarden I'm not going to auto remove"
-echo "'snd_seq_midi from /etc/sysconfig/modules' mabye other"
-echo "installed apps using it ( eg : noteedit and alike )."
-echo "Please remove it manually if is not needed anymore."
-echo ""
+       /usr/bin/update-mime-database /usr/share/mime
+       echo ""
+       echo "::INFO::"
+       echo "You removed rosegarden I'm not going to auto remove"
+       echo "'snd_seq_midi from /etc/sysconfig/modules' mabye other"
+       echo "installed apps using it ( eg : noteedit and alike )."
+       echo "Please remove it manually if is not needed anymore."
+       echo ""

}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to