Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > b1763d52ce97f773671dd5120c7d63e4 > scriptlet

mozplugger-2.1.3-3.mga4.x86_64.rpm

Triggers

gecko-mediaplayer

/bin/sh
[ "$2" -ge 1 ] || exit 0
if [ -r /etc/mozpluggerrc ]; then
	if [ -x /usr/bin/disable_mozmimetypes ]; then
		/usr/bin/disable_mozmimetypes /etc/mozpluggerrc \
			application/x-drm-v2 \
			application/x-mplayer2 \
			application/x-ogg \
			application/x-quicktimeplayer \
			application/x-ms-wmw \
			application/x-nsv-vp3-mp3 \
			audio/ogg \
			audio/wav \
			audio/x-ms-wax \
			audio/x-ms-wma \
			audio/x-wav \
			video/anim \
			video/dl \
			video/fli \
			video/mp4 \
			video/mpeg \
			video/msvideo \
			video/quicktime \
			video/sgi-movie \
			video/x-anim \
			video/x-dl \
			video/x-fli \
			video/x-mpeg \
			video/x-mpeg2 \
			video/x-ms-asf \
			video/x-ms-asf-plugin \
			video/x-msvideo \
			video/x-ms-wm \
			video/x-ms-wmv \
			video/x-ms-wvx \
			image/x-macpaint \
			video/x-quicktime \
			video/x-sgi-movie
		touch /usr/lib64/mozilla/plugins/mozplugger.so
	fi
fi

gecko-mediaplayer

/bin/sh
[ "$2" = "0" ] || exit 0
if [ -r /etc/mozpluggerrc ]; then
	if [ -x /usr/bin/enable_mozmimetypes ]; then
		/usr/bin/enable_mozmimetypes /etc/mozpluggerrc \
			application/x-drm-v2 \
			application/x-mplayer2 \
			application/x-ogg \
			application/x-quicktimeplayer \
			application/x-ms-wmv \
			application/x-nsv-vp3-mp3 \
			audio/ogg \
			audio/wav \
			audio/x-ms-wax \
			audio/x-ms-wma \
			audio/x-wav \
			video/anim \
			video/dl \
			video/fli \
			video/mp4 \
			video/mpeg \
			video/msvideo \
			video/quicktime \
			video/sgi-movie \
			video/x-anim \
			video/x-dl \
			video/x-fli \
			video/x-mpeg \
			video/x-mpeg2 \
			video/x-ms-asf \
			video/x-ms-asf-plugin \
			video/x-msvideo \
			video/x-ms-wm \
			video/x-ms-wmv \
			video/x-ms-wvx \
			image/x-macpaint \
			video/x-quicktime \
			video/x-sgi-movie
		touch /usr/lib64/mozilla/plugins/mozplugger.so
	fi
fi

gecko-mediaplayer

/bin/sh
[ "$2" = "0" ] || exit 0
if [ -r /etc/mozpluggerrc ]; then
	if [ -x /usr/bin/enable_mozmimetypes ]; then
		/usr/bin/enable_mozmimetypes /etc/mozpluggerrc \
			application/x-drm-v2 \
			application/x-mplayer2 \
			application/x-ogg \
			application/x-quicktimeplayer \
			application/x-ms-wmv \
			application/x-nsv-vmp3-mp3 \
			audio/ogg \
			audio/wav \
			audio/x-ms-wax \
			audio/x-ms-wma \
			audio/x-wav \
			video/anim \
			video/dl \
			video/fli \
			video/mp4 \
			video/mpeg \
			video/msvideo \
			video/quicktime \
			video/sgi-movie \
			video/x-anim \
			video/x-dl \
			video/x-fli \
			video/x-mpeg \
			video/x-mpeg2 \
			video/x-ms-asf \
			video/x-ms-asf-plugin \
			video/x-msvideo \
			video/x-ms-wm \
			video/x-ms-wmv \
			video/x-ms-wvx \
			image/x-macpaint \
			video/x-quicktime \
			video/x-sgi-movie
		touch /usr/lib64/mozilla/plugins/mozplugger.so
	fi
fi

gv >= 3.6.1

/bin/sh
if grep -q "gv -safer -quiet -antialias" /etc/mozpluggerrc; then
	perl -pi -e "s/gv -safer -quiet -antialias/gv --safer --quiet --antialias/g" /etc/mozpluggerrc
fi