/usr/bin/sugar-emulator is in sugar-emulator-0.90 0.90.3-1.
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 | #!/bin/sh
if [ "$(id -u)" -eq 0 ] || [ "$(id -ru)" -eq 0 ] ; then
echo Refusing to run as root.
exit 3
fi
# Source debug definitions
if [ -f ~/.sugar/debug ]; then
. ~/.sugar/debug
fi
# Start emulator
python -c "import sys; from jarabe.util import emulator; sys.argv[0]='$0'; emulator.main()" "$@"
|