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