|
@ -1,3 +1,4 @@ |
|
|
|
|
|
#!/bin/bash |
|
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|
|
# |
|
|
# |
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
@ -20,13 +21,11 @@ |
|
|
# |
|
|
# |
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
|
|
|
hook_add postmake 3 "mplayerplugin_postm" |
|
|
mplayerplugin_postm() { |
|
|
mplayerplugin_postm() { |
|
|
ls $libdir | grep mozilla- |
|
|
|
|
|
for i in $libdir/mozilla-*/plugins \ |
|
|
|
|
|
$root/opt/firefox/lib/firefox-*/plugins; do |
|
|
|
|
|
install mplayerplug-in.so $i/ |
|
|
|
|
|
install mplayerplug-in.xpt $i/ |
|
|
|
|
|
|
|
|
for i in {$libdir,$root/opt}/{firefox,mozilla}-*/plugins ; do |
|
|
|
|
|
if [ -d $i ] ; then \ |
|
|
|
|
|
install mplayerplug-in.{so,xpt} $i/ |
|
|
|
|
|
fi |
|
|
done |
|
|
done |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
hook_add postmake 3 "mplayerplugin_postm" |
|
|
|