-${AGI} ${GST}-ffmpeg ${GST}-plugins-bad ${GST}-plugins-ugly
-sudo add-apt-repository "deb http://www.getgnash.org/debs/ubuntu lucid main"
-${AGI} mozilla-plugin-gnash ${GST}-fluendo-mp3
+${AGI} ffmpeg
+${AGI} ${GST}-ffmpeg ${GST}-plugins-bad ${GST}-plugins-ugly ${GST}-fluendo-mp3
+if ! sudo apt-key list | grep "rob@welcomehome.org" 1> /dev/null 2>&1; then
+ sudo add-apt-repository "deb http://www.getgnash.org/debs/ubuntu lucid main"
+ wget --directory-prefix=/tmp http://getgnash.org/gnashdev.key
+ sudo apt-key add /tmp/gnashdev.key
+ rm /tmp/gnashdev.key
+fi
+${AGI} mozilla-plugin-gnash