aboutsummaryrefslogtreecommitdiffstats
path: root/packages/cortexa57-poky-linux/libfm/libfm-gtk/latest.pkg_postinst
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cortexa57-poky-linux/libfm/libfm-gtk/latest.pkg_postinst')
-rw-r--r--packages/cortexa57-poky-linux/libfm/libfm-gtk/latest.pkg_postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/cortexa57-poky-linux/libfm/libfm-gtk/latest.pkg_postinst b/packages/cortexa57-poky-linux/libfm/libfm-gtk/latest.pkg_postinst
new file mode 100644
index 000000000000..bb7d0caaa8d8
--- /dev/null
+++ b/packages/cortexa57-poky-linux/libfm/libfm-gtk/latest.pkg_postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+if [ "x$D" != "x" ]; then
+ $INTERCEPT_DIR/postinst_intercept update_desktop_database libfm-gtk \
+ mlprefix= \
+ desktop_dir=/usr/share/applications
+else
+ update-desktop-database $D/usr/share/applications
+fi
+if [ x"$D" = "x" ]; then
+ if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi
+fi