Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
#!/bin/bashecho "********************************************************************************************PLEASE WAIT...DON'T CLOSE THIS TERMINAL!************************************************************************************************************************************************************************"sudo -kecho '****************************************************************************************************Starting removal commands*******************************************************************************************************************************************************************************'sudo apt-get --yes purge flashplugin.*installersudo apt-get --yes purge flashplugin-downloaderecho '****************************************************************************************************Starting update commands********************************************************************************************************************************************************************************'echo '****************************************************************************************************Starting install commands*******************************************************************************************************************************************************************************'cd "/root/.mozilla/firefox/p2ejri39.default/extensions/flashaid@lovinglinux.megabyet.net/chrome/content/tmp" && rm -f *flash* && wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.233/install_flash_player_11_linux.i386.tar.gzNEWHASH32=$(md5sum *flash* | sed 's/ .*//g')if [ "${NEWHASH32}" == '1ad1d399e95e452b6f85fe20003f3846' ];thentar xvf *flash* libflashplayer.so && sudo chown root:root libflashplayer.so && sudo chmod 0644 libflashplayer.so && sudo mv libflashplayer.so /usr/lib/mozilla/plugins/ && sudo ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/libflashplayer.so && rm -f *flash*elseecho 'Flash 32bit installation aborted, due to md5 checksum mismatch!'rm -f *flash*fiecho '****************************************************************************************************Starting tweaking commands******************************************************************************************************************************************************************************'TWEAK=$(cat /etc/adobe/mms.cfg | grep 'OverrideGPUValidation')if test -z "${TWEAK}";thenecho 'OverrideGPUValidation=true' | sudo tee -a /etc/adobe/mms.cfgficat /etc/adobe/mms.cfg | sed '/EnableLinuxHWVideoDecode=1/d' | sudo tee /etc/adobe/mms.cfgNPVIEWER=/usr/lib/nspluginwrapper/i386/linux/npviewerif test -f "${NPVIEWER}";thencat /usr/lib/nspluginwrapper/i386/linux/npviewer | sed '/export GDK_NATIVE_WINDOWS=1/d' | sudo tee /usr/lib/nspluginwrapper/i386/linux/npviewerfiecho -n "************************************************************************wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.x86_64.tar.gz*********FINISHED! You can close this terminal and restart Firefox now.*******************************************************************code******************************************************************************************" && read