diff --git a/package/avm/mplayerplug-in/mplayerplug-in.conf b/package/avm/mplayerplug-in/mplayerplug-in.conf index b2d06fc58..24cdafc42 100644 --- a/package/avm/mplayerplug-in/mplayerplug-in.conf +++ b/package/avm/mplayerplug-in/mplayerplug-in.conf @@ -1,3 +1,4 @@ +#!/bin/bash # --- ROCK-COPYRIGHT-NOTE-BEGIN --- # # This copyright note is auto-generated by ./scripts/Create-CopyPatch. @@ -20,13 +21,11 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- +hook_add postmake 3 "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 } - -hook_add postmake 3 "mplayerplugin_postm" diff --git a/package/avm/mplayerplug-in/mplayerplug-in.desc b/package/avm/mplayerplug-in/mplayerplug-in.desc index 24d2e9294..ceb2f66a3 100644 --- a/package/avm/mplayerplug-in/mplayerplug-in.desc +++ b/package/avm/mplayerplug-in/mplayerplug-in.desc @@ -37,7 +37,8 @@ [L] GPL [S] Stable -[V] 3.17 +[V] 3.45 [P] X --?--5---9 280.200 -[D] 695484898 mplayerplug-in-3.17.tar.gz http://dl.sourceforge.net/sourceforge/mplayerplug-in/ +[D] 2390296541 mplayerplug-in-3.45.tar.gz http://dl.sourceforge.net/sourceforge/mplayerplug-in/ +