Code: Alles auswählen
update-flashplugin-nonfree --status | awk 'NR==1 {oldversion = $NF} NR==2 {newversion = $NF; if (oldversion < newversion) system("update-flashplugin-nonfree --install --verbose"); else print "Flash="$NF}'
Code: Alles auswählen
# update-flashplugin-nonfree --status
Flash Player version installed on this system : 11.2.202.429
Flash Player version available on upstream site: 11.2.202.429
flash-mozilla.so - auto mode
link currently points to /usr/lib/flashplugin-nonfree/libflashplayer.so
/usr/lib/flashplugin-nonfree/libflashplayer.so - priority 50
Current 'best' version is '/usr/lib/flashplugin-nonfree/libflashplayer.so'.