for m in /usr/lib/mozilla-*
do
 (ln -f -s /usr/lib/mozilla/plugins/mplayerplug-in-gmp.so      $m/plugins)
 (ln -f -s /usr/lib/mozilla/plugins/mplayerplug-in-qt.so       $m/plugins)
 (ln -f -s /usr/lib/mozilla/plugins/mplayerplug-in-rm.so       $m/plugins)
 (ln -f -s /usr/lib/mozilla/plugins/mplayerplug-in-wmp.so      $m/plugins)
 (ln -f -s /usr/lib/mozilla/plugins/mplayerplug-in.so          $m/plugins)
 (ln -f -s /usr/lib/mozilla/components/mplayerplug-in-gmp.xpt  $m/components)
 (ln -f -s /usr/lib/mozilla/components/mplayerplug-in-rm.xpt   $m/components)
 (ln -f -s /usr/lib/mozilla/components/mplayerplug-in.xpt      $m/components)
 (ln -f -s /usr/lib/mozilla/components/mplayerplug-in-qt.xpt   $m/components)
 (ln -f -s /usr/lib/mozilla/components/mplayerplug-in-wmp.xpt  $m/components)
done

for m in /usr/lib/firefox-*
do
 (ln -f -s /usr/lib/mozilla/plugins/mplayerplug-in-gmp.so      $m/plugins)
 (ln -f -s /usr/lib/mozilla/plugins/mplayerplug-in-qt.so       $m/plugins)
 (ln -f -s /usr/lib/mozilla/plugins/mplayerplug-in-rm.so       $m/plugins)
 (ln -f -s /usr/lib/mozilla/plugins/mplayerplug-in-wmp.so      $m/plugins)
 (ln -f -s /usr/lib/mozilla/plugins/mplayerplug-in.so          $m/plugins)
 (ln -f -s /usr/lib/mozilla/components/mplayerplug-in-gmp.xpt  $m/components)
 (ln -f -s /usr/lib/mozilla/components/mplayerplug-in-rm.xpt   $m/components)
 (ln -f -s /usr/lib/mozilla/components/mplayerplug-in.xpt      $m/components)
 (ln -f -s /usr/lib/mozilla/components/mplayerplug-in-qt.xpt   $m/components)
 (ln -f -s /usr/lib/mozilla/components/mplayerplug-in-wmp.xpt  $m/components)
done

