From cd346b78407f24d0fb0522744c5384c6d675801d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 4 Dec 2008 12:25:39 +0100 Subject: mime.bbclass: inform user that u-m-d will take a while --- classes/mime.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes/mime.bbclass') 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!" -- cgit v1.2.3