diff options
Diffstat (limited to 'packages/shared-mime-info/shared-mime-info_0.22.bb')
-rw-r--r-- | packages/shared-mime-info/shared-mime-info_0.22.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/shared-mime-info/shared-mime-info_0.22.bb b/packages/shared-mime-info/shared-mime-info_0.22.bb index 6d3b760390..f28dff2ca2 100644 --- a/packages/shared-mime-info/shared-mime-info_0.22.bb +++ b/packages/shared-mime-info/shared-mime-info_0.22.bb @@ -1,3 +1,11 @@ require shared-mime-info.inc -PR = "r1" +PR = "r2" + +pkg_postinst () { +if [ "x$D" != "x" ]; then + exit 1 +fi + echo "Updating MIME database... this may take a while." + ${bindir}/update-mime-database ${datadir}/mime +} |