/usr/games/sky is in beneath-a-steel-sky 0.0372-7.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | #!/bin/sh -e
GAMELANG=
ENVLANG=
domain=sky
if [ $(which gettext) ]; then
gettext="gettext --domain=$domain -s --"
else
gettext=echo
fi
usage()
{
$gettext "Usage: sky [OPTION]"
$gettext "Start Beneath a Steel Sky"
echo
$gettext "--en play the English version"
$gettext "--de play the German version"
$gettext "--fr play the French version"
$gettext "--it play the Italian version"
$gettext "--es play the Spanish version"
$gettext "--help display this help and exit"
$gettext "--version display version information and exit"
}
version()
{
$gettext "Beneath a Steel Sky v0.0372"
$gettext "Copyright (C) Revolution Software Ltd."
$gettext "ScummVM engine Copyright (C) The ScummVM Team"
}
ENVLANG=$(
echo $LANGUAGE $LANG en | tr ': ' '\n' | cut -c1-2 | while read lang;
do
echo $lang | grep -E "de|fr|it|es|en" && break
done
)
if ! [ x"$ENVLANG" = x"en" ]; then
GAMELANG="-n -q $ENVLANG"
fi
if [ "$#" -gt "1" ]; then
usage
exit 1
elif [ "$#" -eq "1" ]; then
case "$1" in
--en)
;;
--de)
GAMELANG="-q de"
;;
--fr)
GAMELANG="-q fr"
;;
--it)
GAMELANG="-q it"
;;
--es)
GAMELANG="-q es"
;;
--help)
usage
exit 0
;;
--version)
version
exit 0
;;
*)
usage
exit 1
;;
esac
fi
/usr/games/scummvm $GAMELANG -p /usr/share/scummvm/beneath-a-steel-sky sky
exit 0
|