File RoR-wrapper.sh of Package rigsofrods
#!/bin/sh
if [ ! -d "$HOME/.rigsofrods" ]; then
mkdir "$HOME/.rigsofrods"
unzip "@DATADIR@/resources/skeleton.zip" -d "$HOME/.rigsofrods/"
fi
case $(basename "$0") in
RoR)
exec "@LIBDIR@/rigsofrods/RoR" $@
;;
RoRConfig)
exec "@LIBDIR@/rigsofrods/RoRConfig" $@
;;
esac