aboutsummaryrefslogtreecommitdiff
path: root/www/mozex
diff options
context:
space:
mode:
Diffstat (limited to 'www/mozex')
-rw-r--r--www/mozex/pkg-install.xpi6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/mozex/pkg-install.xpi b/www/mozex/pkg-install.xpi
index 829c6f129ef4..cf216dc45c80 100644
--- a/www/mozex/pkg-install.xpi
+++ b/www/mozex/pkg-install.xpi
@@ -52,7 +52,11 @@ rm -f $MOZDIR/component.reg
LD_LIBRARY_PATH=$MOZDIR MOZILLA_FIVE_HOME=$MOZDIR $MOZDIR/regxpcom || true
LD_LIBRARY_PATH=$MOZDIR MOZILLA_FIVE_HOME=$MOZDIR $MOZDIR/regchrome || true
-touch $MOZDIR/chrome/user-skins.rdf $MOZDIR/chrome/user-locales.rdf
+
+if [ -d "$MOZDIR/searchplugins" ]; then
+ chmod -R u+w "$MOZDIR/searchplugins"
+fi
+#touch $MOZDIR/chrome/user-skins.rdf $MOZDIR/chrome/user-locales.rdf
[ "x$2" = "xPOST-INSTALL" ] || rm $MOZDIR/chrome/installed-chrome.txt.bak