@JoelFB
You updated the Trine installer, but instead of fixing "undefined symbol: gdk_pixbuf_new_from_stream" now you require a newer GLIBCXX_3.4.14. What's the logic behind that when the game runs with lenny but the installer does not? Maybe ask Svartalf how to create a correct installer. Of course i can do something like that:
Code:
INSTALLER=Trine-1.32.run
DIR=$HOME/trine
DESKTOP=$(strings $INSTALLER|grep -F .desktop)
unzip -d $DIR $INSTALLER
strings $INSTALLER|grep -A7 Desktop|sed "s|%s|$DIR|" >$DIR$DESKTOP
cd $DIR
./createShortcuts.sh desktop menu
That works for the other games too, just change the first 2 lines to whatever you need. But that also shows that your create/removeShortcuts.sh code is stupid. Change:
Code:
DESKTOPDIR=$(xdg-user-dir DESKTOP)
to this line to get rid of the stupid error when xdg-user-dir is not there:
Code:
DESKTOPDIR=$(xdg-user-dir DESKTOP 2>/dev/null)
Instead of
Code:
[ "$DESKTOPDIR" == "" ]
use
Code:
[ -z "$DESKTOPDIR" ]
and then "#!/bin/sh" will will work - no bash needed anymore - basically you can replace the "==" by "=" too - that still does not look nice but would be dash/POSIX compatible.