# SHORT DESC: Mozilla Media Plugger # LONG DESC: MozPlugger is a modification of Plugger, a very small multimedia plugin for the Unix versions of Netscape, Mozilla, and Opera which uses external programs to show and play many file formats. This modification fixes bugs which occurred with Mozilla 1.x and allows a player to stream a media file directly from the URL. make auto || exit 1 make install || exit 1 firefoxdir=`ls -1d "${libdir}"/firefox-*/ 2>/dev/null | tail -n 1` mozilladir=`ls -1d "${libdir}"/mozilla "${libdir}"/mozilla-* 2>/dev/null | tail -n 1` netscapedir="${libdir}"/netscape echo "firefoxdir=${firefoxdir}" echo "mozilladir=${mozilladir}" echo "netscapedir=${netscapedir}" if [ -n "${firefoxdir}" -a -d "${firefoxdir}" ]; then rm -f "${firefoxdir}"/plugins/mozplugger.so cp -a /usr/lib/mozilla/plugins/mozplugger.so "${firefoxdir}"/plugins/mozplugger.so fi if [ -n "${mozilladir}" -a -d "${mozilladir}" ]; then rm -f "${mozilladir}"/plugins/mozplugger.so cp -a /usr/lib/mozilla/plugins/mozplugger.so "${mozilladir}"/plugins/mozplugger.so fi if [ -n "${netscapedir}" -a -d "${netscapedir}" ]; then rm -f "${netscapedir}"/plugins/mozplugger.so cp -a /usr/lib/mozilla/plugins/mozplugger.so "${netscapedir}"/plugins/mozplugger.so fi exit 0 |