classabbyamp 9ab1405894
*: remove unnecessary execute permissions
* INSTALL scripts don't need to be executable
* anything installed by vbin is set to 755
* many of these files were otherwise marked executable in the template
  (vinstall, chmod, etc)
* some had no business being executable, like the smattering of patches
  and other files
* remove files from chroot-distcc no longer used in the template
  (46ce787b63d467d9b8e5ef8821e2ddefea4b980a)
2024-08-02 13:24:47 -04:00

19 lines
516 B
Bash

#!/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 "$@"