Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaxklone/7272832 to your computer and use it in GitHub Desktop.
Save zaxklone/7272832 to your computer and use it in GitHub Desktop.
clear &&
echo 'Installing Flash for Midori' &&
read -p 'Press Enter to continue, or abort by pressing CTRL+C' nothing &&
mkdir -p ~/.mozilla/plugins &&
wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.310/install_flash_player_11_linux.i386.tar.gz &&
tar -zxvf install_flash_player_11_linux.i386.tar.gz libflashplayer.so &&
rm install_flash_player_11_linux.i386.tar.gz &&
if [ $(getconf LONG_BIT) = '64' ]
then
mv libflashplayer.so ~/.mozilla/plugins/libflashplayer.32.so &&
sudo apt-get install nspluginwrapper ia32-libs
else
mv libflashplayer.so ~/.mozilla/plugins/libflashplayer.so &&
sudo apt-get install nspluginwrapper
fi &&
nspluginwrapper -a -v -n -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment