aboutsummaryrefslogtreecommitdiff
path: root/system/pcmanfm/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/pcmanfm/doinst.sh')
-rw-r--r--system/pcmanfm/doinst.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/pcmanfm/doinst.sh b/system/pcmanfm/doinst.sh
index 474753e464482..1859c016e7f7b 100644
--- a/system/pcmanfm/doinst.sh
+++ b/system/pcmanfm/doinst.sh
@@ -1,8 +1,8 @@
-if [ -x usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ ./usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
-if [ -x usr/bin/update-mime-database ]; then
- ./usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1
+if [ -x /usr/bin/update-mime-database ]; then
+ ./usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi