+mkdir -vp "${INSTALL_ROOT}/etc/profile.d/" &&
+
+if install_config_file "${SPELL_DIRECTORY}/profile.d/palemoon.sh" \
+ "${INSTALL_ROOT}/etc/profile.d/palemoon.sh"; then
+ chmod +x "${INSTALL_ROOT}/etc/profile.d/palemoon.sh"
+fi &&
+
ln -vsf "${TRACK_ROOT}/usr/lib/palemoon/palemoon"
"${INSTALL_ROOT}/usr/bin/palemoon"
diff --git a/http/palemoon/profile.d/palemoon.sh
b/http/palemoon/profile.d/palemoon.sh
new file mode 100644
index 0000000..11a0ba9
--- /dev/null
+++ b/http/palemoon/profile.d/palemoon.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+#
+# Set MOZ_PLUGIN_PATH for Pale Moon which need
+# the plugins (e.g. flash) in default path
+#
+
+if [ -z "$MOZ_PLUGIN_PATH" ]; then
+ MOZ_PLUGIN_PATH="/usr/lib/palemoon/plugins"
+fi &&
+
+export MOZ_PLUGIN_PATH
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (28ccd81411cb640d5887488d039f63c5286e6052),
Vlad Glagolev, 07/25/2015