mirror of
https://git.yoctoproject.org/poky
synced 2026-04-15 21:32:13 +02:00
shared-mime-info_0.16.bb: fixed broken postinstall script
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1392 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
SECTION = "base"
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
DEPENDS = "libxml2 intltool-native"
|
||||
|
||||
@@ -13,6 +13,6 @@ FILES_${PN} += "${datadir}/mime"
|
||||
EXTRA_OECONF = "--disable-update-mimedb"
|
||||
|
||||
pkg_postinst () {
|
||||
echo "Updating MIME database... this may take a while."
|
||||
${bindir}/update-mime-database ${datadir}/mime
|
||||
echo "Updating MIME database in $D${datadir}/mime ... (This may take a while.)"
|
||||
${bindir}/update-mime-database $D${datadir}/mime
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user