mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00: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"
|
SECTION = "base"
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
DEPENDS = "libxml2 intltool-native"
|
DEPENDS = "libxml2 intltool-native"
|
||||||
|
|
||||||
@@ -13,6 +13,6 @@ FILES_${PN} += "${datadir}/mime"
|
|||||||
EXTRA_OECONF = "--disable-update-mimedb"
|
EXTRA_OECONF = "--disable-update-mimedb"
|
||||||
|
|
||||||
pkg_postinst () {
|
pkg_postinst () {
|
||||||
echo "Updating MIME database... this may take a while."
|
echo "Updating MIME database in $D${datadir}/mime ... (This may take a while.)"
|
||||||
${bindir}/update-mime-database ${datadir}/mime
|
${bindir}/update-mime-database $D${datadir}/mime
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user