Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 4c3a091398f04f4bb43fe208480a3e42 > scriptlet

mozplugger-1.13.0-1mdv2010.0.i586.rpm

Triggers

acroread-nppdf

/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/pdf application/x-pdf
                touch /usr/lib/mozilla/plugins/mozplugger.so
        fi
fi

acroread-nppdf

/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/pdf application/x-pdf
                touch /usr/lib/mozilla/plugins/mozplugger.so
        fi
fi

acroread-nppdf

/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/pdf application/x-pdf
                touch /usr/lib/mozilla/plugins/mozplugger.so
        fi
fi

RealPlayer-rpnp

/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 \
                        audio/x-pn-realaudio-plugin
                touch /usr/lib/mozilla/plugins/mozplugger.so
        fi
fi

RealPlayer-rpnp

/bin/sh
[ "$2" = "0" ] || exit 0
if [ -r /etc/mozpluggerrc ]; then
        if [ -x /usr/bin/enable_mozmimetypes ]; then
                /usr/bin/enable_mozmimetypes /etc/mozpluggerrc \
                        audio/x-pn-realaudio-plugin
                touch /usr/lib/mozilla/plugins/mozplugger.so
        fi
fi

RealPlayer-rpnp

/bin/sh
[ "$2" = "0" ] || exit 0
if [ -r /etc/mozpluggerrc ]; then
        if [ -x /usr/bin/enable_mozmimetypes ]; then
                /usr/bin/enable_mozmimetypes /etc/mozpluggerrc \
                        audio/x-pn-realaudio-plugin
                touch /usr/lib/mozilla/plugins/mozplugger.so
        fi
fi

mplayerplugin

/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/lib/mozilla/plugins/mozplugger.so
        fi
fi

mplayerplugin

/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/lib/mozilla/plugins/mozplugger.so
        fi
fi

mplayerplugin

/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/lib/mozilla/plugins/mozplugger.so
        fi
fi

gv >= 3.6.1

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

gv < 3.6.1

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