/usr/bin/wine-development is in wine-development 1.9.6-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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #!/bin/sh -e
script=$(basename $0)
bindir=/usr/lib/$script
wine32=$bindir/wine
wine64=$bindir/wine64
if test -x $wine32; then
wine=$wine32
elif test -x $wine64; then
wine=$wine64
if test -z "$WINELOADER"; then
export WINELOADER=$wine64
fi
if [ "$(dpkg --print-architecture)" = "amd64" -a "$(dpkg --print-foreign-architectures | grep -cx "i386")" -ne 1 ] ||
[ "$WINEARCH" = "win32" ]; then
echo "it looks like multiarch needs to be enabled. as root, please" >&2
echo "execute \"dpkg --add-architecture i386 && apt-get update &&" >&2
echo "apt-get install $(echo $script | sed s/wine/wine32/)\"" >&2
fi
else
echo "error: unable to find wine executable. this shouldn't happen." >&2
exit 1
fi
if test -z "$WINEDEBUG"; then
export WINEDEBUG=fixme-all
fi
exec $wine "$@"
|