after the last update of FlashGot, it stopped working for me on Kubuntu 9.10. The problem is that I do not have gnome-terminal installed (and I don't want to install another terminal application for FlashGot). The shell script generated by the add-on does not really work, at least on my system. The condition
Code: Select all
if [ "$COLORTERM"=="gnome-terminal" -a -x `which gnome-terminal 2>/dev/null` ];
Code: Select all
gnome-terminal: not found
I tried to fix the script (content/flashgot/DMS.js) myself and use just xterm (or konsole for KDE, it can be started just like xterm with the -x option), but it does not seem to work, probably because the file FlashGot.jar is hashed and its MD5/SHA1 hashes changed.
I would also like to inform you, that (at least on my system), this code
Code: Select all
if [ -x `which xterm 2>/dev/null` ]; then DOWN_CMD='xterm -e curl';
Code: Select all
if [ -x `which this_is_an_example 2>/dev/null` ];
then
echo "wrong"
fi
Code: Select all
PRES_XTERM=`which xterm`;
if [ -n $PRES_XTERM ];
then
DOWN_CMD='xterm -e wget';
else...
Code: Select all
if which xterm &>/dev/null;
then
DOWN_CMD='xterm -e wget';
fi
Thanks for reading,
Peter.