3 # Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
4 # Super minor updates by jason.melton[at]gmail[dot]com
5 # Updates by Alejandro Cuervo 3[at]cuervo[dot]net
6 # more very minor updates by damien[at]groovey[dot]com
10 sudo killall -9 firefox
12 echo "Downloading and instaling Getlibs for required libraries"
13 wget http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb
14 sudo dpkg -i getlibs-all.deb
16 echo "Removing previous installs of flash:"
17 sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
18 sudo rm -f /usr/lib/mozilla/plugins/*flash*
19 sudo rm -f ~/.mozilla/plugins/*flash*
20 sudo rm -f /usr/lib/firefox/plugins/*flash*
21 sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
22 sudo rm -rfd /usr/lib/nspluginwrapper
24 echo "Installing ia32-libs and nspluginwrapper"
25 sudo apt-get install ia32-libs nspluginwrapper
28 sudo getlibs -p libcurl3
29 sudo getlibs -p libnss3-1d
30 sudo getlibs -p libnspr4-0d
32 echo "Installing Flash Player 10"
34 wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
35 tar zxvf install_flash_player_10_linux.tar.gz
36 sudo mv libflashplayer.so /usr/lib/mozilla/plugins/
37 sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
39 echo "Linking the libraries so that firefox can see them."
40 sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
41 sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/
44 echo "You may re-start Firefox now"