mime.bbclass: inform user that u-m-d will take a while
[vuplus_openembedded] / classes / mime.bbclass
index e11c29d..07d0f9c 100644 (file)
@@ -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!"