[oe-commits] Koen Kooi : mime.bbclass: inform user that u-m-d will take a while
GIT User account
git at amethyst.openembedded.net
Thu Dec 4 11:28:02 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: cd346b78407f24d0fb0522744c5384c6d675801d
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cd346b78407f24d0fb0522744c5384c6d675801d
Author: Koen Kooi <koen at openembedded.org>
Date: Thu Dec 4 12:25:39 2008 +0100
mime.bbclass: inform user that u-m-d will take a while
---
classes/mime.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/classes/mime.bbclass b/classes/mime.bbclass
index e11c29d..07d0f9c 100644
--- a/classes/mime.bbclass
+++ b/classes/mime.bbclass
@@ -4,6 +4,7 @@ RDEPENDS += "shared-mime-info"
mime_postinst() {
if [ "$1" = configure ]; then
if [ -x ${bindir}/update-mime-database ] ; then
+ echo "Updating MIME database... this may take a while."
update-mime-database $D${datadir}/mime
else
echo "Missing ${bindir}/update-mime-database, update of mime database failed!"
@@ -15,6 +16,7 @@ fi
mime_postrm() {
if [ "$1" = remove ] || [ "$1" = upgrade ]; then
if [ -x ${bindir}/update-mime-database ] ; then
+ echo "Updating MIME database... this may take a while."
update-mime-database $D${datadir}/mime
else
echo "Missing ${bindir}/update-mime-database, update of mime database failed!"
More information about the Openembedded-commits
mailing list