summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-12-04 12:25:39 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-04 12:25:39 +0100
commitcd346b78407f24d0fb0522744c5384c6d675801d (patch)
tree40b53972c66f0a0e8f2813fd4a0f73577dc3b7bd /classes
parentd5012b7d09079bdc1da633d947aeb31262cbb022 (diff)
mime.bbclass: inform user that u-m-d will take a while
Diffstat (limited to 'classes')
-rw-r--r--classes/mime.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/mime.bbclass b/classes/mime.bbclass
index e11c29d009..07d0f9c259 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!"