Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/adobe_flash/kspost.50.flashinstall.nochroot.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/adobe_flash/kspost.50.flashinstall.nochroot.inc')
-rw-r--r--modules/adobe_flash/kspost.50.flashinstall.nochroot.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/adobe_flash/kspost.50.flashinstall.nochroot.inc b/modules/adobe_flash/kspost.50.flashinstall.nochroot.inc
new file mode 100644
index 0000000..c265ebe
--- /dev/null
+++ b/modules/adobe_flash/kspost.50.flashinstall.nochroot.inc
@@ -0,0 +1,10 @@
+# Licensed under the terms of the GNU GPL v2 or later; see COPYING for details.
+
+. $OOB__shlib
+
+# Install locally-provided flash plugin
+path=$(read_config adobe_flash plugin_path)
+[ -n "$path" ] || exit 0
+
+mkdir -p $INSTALL_ROOT/usr/lib/mozilla/plugins
+cp -v $path $INSTALL_ROOT/usr/lib/mozilla/plugins/libflashplayer.so