Flash Player
Tłumaczenie
Opis po angielsku
<title>Flash Player</title>
<description>Adobe Flash Player plugin for Firefox</description>
<info>
<![CDATA[
<b>Adobe Flash Player</b> is a product of <a href="http://www.adobe.com">Adobe</a>.
It is a high-performance, lightweight, highly expressive client runtime
that delivers powerful and consistent user experiences across major operating systems,
browsers, mobile phones, and devices.<br></br><br></br>
This option installs the Flash plugin for Firefox and all browsers
which import the plugin directory of Firefox including Konqueror and Opera can use this plugin. ]]>
Opis po polsku
Skrypty
Skrypt instalacyjny
function flashplugin {
sleep 1
dir_ch
dpkg_check
sleep 1
rm -f $AXHOME/install_flash_player_9_linux.tar.gz
if wget --tries=2 --timeout=30 http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
then
sudo apt-get --assume-yes remove flashplugin-nonfree
sleep 2
dpkg_check
sudo mkdir /opt
if ! sudo apt-get --assume-yes install alsa-oss gsfonts gsfonts-x11 gsfonts-other m4
then
AX_fatal "An apt-based error occurred and installation was unsuccessful";
fi
sudo rm -rf /opt/flash32
sudo tar zxvf $AXHOME/install_flash_player_9_linux.tar.gz -C /opt
sudo mv -f /opt/install_flash_player_9_linux /opt/flash32
sudo chmod 755 /opt/flash32/libflashplayer.so
sudo cp -f /opt/flash32/libflashplayer.so /usr/lib/mozilla/plugins
sudo cp -f /opt/flash32/libflashplayer.so /usr/lib/mozilla-firefox/plugins
sudo cp -f /opt/flash32/libflashplayer.so /usr/lib/firefox/plugins
sudo rm -f $AXHOME/.mozilla/plugins/libflashplayer.so
rm -f $AXHOME/install_flash_player_9_linux.tar.gz
if test -e /etc/firefox/firefoxrc
then
if ! cat /etc/firefox/firefoxrc | egrep "export XLIB_SKIP_ARGB_VISUALS=1"
then
echo "export XLIB_SKIP_ARGB_VISUALS=1" | sudo tee -a /etc/firefox/firefoxrc
fi
fi
if ! test -e /usr/lib/libesd.so.1
then
sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
fi
if ! test -e /usr/lib32/libesd.so.1
then
sudo ln -s /usr/lib32/libesd.so.0 /usr/lib32/libesd.so.1
fi
if ! test -e /tmp/.esd
then
ln -s /tmp/.esd-1000 /tmp/.esd
fi
else
AX_fatal "Flash Player for Firefox could not be downloaded. Please try again later.";
fi
}
Skrypt usuwający
function flashpluginremove {
sudo rm -rf /opt/flash32
sudo rm -f /usr/lib/mozilla/plugins/libflashplayer.so
sudo rm -f /usr/lib/mozilla/plugins/flashplayer.xpt
sudo rm -f /usr/lib/mozilla-firefox/plugins/libflashplayer.so
sudo rm -f /usr/lib/mozilla-firefox/plugins/flashplayer.xpt
sudo rm -f /usr/lib/firefox/plugins/libflashplayer.so
sudo rm -f /usr/lib/firefox/plugins/flashplayer.xpt
sudo rm -f /opt/swiftfox/plugins/libflashplayer.so
sudo rm -f /opt/swiftfox/plugins/flashplayer.xpt
}
wersja strony: 0, ostatnia edycja: 1186004919|%e %b %Y, %H:%M %Z (%O temu)
Komentarze