Tag Archives: shell script

FreeBsd Adobe Flash (shell script)

January 8, 2010

1 Comment

#!/bin/sh #(c) 2008 Sokolov Alexey [TrueBSD Project] check_file() { if [ ! -f $1 ]; then echo “file $1 not found. Please install port ‘$2′” exit fi } usage_func() { echo “usage: flashpluginctl [on | off]” exit } check_file “/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so” “www/linux-flashplugin9″ check_file “/usr/local/bin/nspluginwrapper” “www/nspluginwrapper” if [ $# -ne 1 ]; then usage_func fi if test [...]

Continue reading...

Dapper-Gutsy only (Install Script)

January 3, 2010

1 Comment

This script will install the nspluginwrapper, and Flash for your 64bit browser for the amd64 version of Ubuntu Dapper, Edgy and Feisty, and Gutsy. It will not work on the i386 or 32bit version. It will not install other plugins. There are other plugins, java being one, that nspluginwrapper can not work with. The script [...]

Continue reading...

Install Flash Player 10 on 64bit OpenSuse

January 3, 2010

4 Comments

#!/bin/bash # Script created by #FlashConf.com # http://www.flashcs.com/how-to/install-flash-player-10-on-64bit-linux/ #  Opensuse 11.0 echo “Stopping any Firefox that might be running” sudo killall -9 firefox echo “Removing any other flash plugin previously installed:” sudo rm -f /usr/lib64/browser-plugins/npwrapper.libflashplayer.so sudo rm -f /usr/lib/browser-plugins/libflashplayer.so sudo rm -f /usr/lib/flash-plugin/libflashplayer.so sudo rm -rfd /usr/lib/nspluginwrapper echo “Installing Flash Player 10″ wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz tar [...]

Continue reading...