diff options
Diffstat (limited to 'packages/cortexa57-poky-linux/shared-mime-info/shared-mime-info-data/latest.pkg_postinst')
-rw-r--r-- | packages/cortexa57-poky-linux/shared-mime-info/shared-mime-info-data/latest.pkg_postinst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/cortexa57-poky-linux/shared-mime-info/shared-mime-info-data/latest.pkg_postinst b/packages/cortexa57-poky-linux/shared-mime-info/shared-mime-info-data/latest.pkg_postinst new file mode 100644 index 00000000000..5797fa11dab --- /dev/null +++ b/packages/cortexa57-poky-linux/shared-mime-info/shared-mime-info-data/latest.pkg_postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e +if [ "x$D" != "x" ]; then + $INTERCEPT_DIR/postinst_intercept update_mime_database shared-mime-info-data \ + mlprefix= \ + mimedir=/usr/share/mime +else + echo "Updating MIME database... this may take a while." + update-mime-database $D/usr/share/mime +fi |