d870909392
along with the restructuring of the sub-packages this will allow installing both a wine and wine-32bit package on x86_64 hosts to be able to execute both 32 bit and 64 bit Windows binaries [skip ci]
18 lines
516 B
Bash
Executable file
18 lines
516 B
Bash
Executable file
#!/bin/sh -e
|
|
# Based on the Debian wrapper script written by Jens Reyer and Michael Gilbert
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
wineserver32=/usr/libexec/wine/wineserver32
|
|
wineserver64=/usr/libexec/wine/wineserver64
|
|
|
|
if test -x "$wineserver64"; then
|
|
wineserver=$wineserver64
|
|
elif test -x "$wineserver32"; then
|
|
wineserver=$wineserver32
|
|
else
|
|
echo "error: unable to find wineserver executable." >&2
|
|
echo "wine and/or wine-32bit must be installed." >&2
|
|
exit 1
|
|
fi
|
|
|
|
exec $wineserver -p0 "$@"
|