/usr/bin/gnash is in gnash-common 0.8.11~git20160608-1.4.
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 | #!/bin/sh
#
# gnash: Wrapper script for running the different GUI versions of gnash
#
# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
# TODO:
# Handle --version on your own (or GUI config reported would be the one of the default executable)
#
#!/bin/sh
GUIS="gtk kde qt4 sdl fltk aqua fb haiku"
THIS_DIR="`dirname $0`"
if test "$1" = "-G"; then
shift
if test "x$1" = "x"; then
echo "-G needs an argument (-G list for a list of possible values)" >&2
exit 1
fi
gui=`echo "$1" | tr '[A-Z]' '[a-z]'`
shift
if test "$gui" = "?" -o "$gui" = "list"; then
for g in ${GUIS}; do
exe=${THIS_DIR}/${g}-gnash
if test -e ${exe}; then
list="$list $g"
fi
done
echo "Available guis: $list"
exit 0
fi
if ! test -e ${THIS_DIR}/${gui}-gnash; then
echo "Can't find ${gui}-gnash." >&2
exit 1
fi
fi
for gui in ${gui} ${GUIS}; do
exe=${THIS_DIR}/${gui}-gnash
if test -e ${exe}; then
exec ${exe} "$@"
fi
done
echo "Could not find any <gui>-gnash executable under directory ${THIS_DIR}, with <gui> in $GUI_DIR." >&2
exit 1
|