#!/bin/sh WINE_ORIG="/usr/bin/wine.real" USER_NAME="$(id -un)" eval "$(llxcfg-showvars USERS_WINE_DISABLE)" if [ "$USERS_WINE_DISABLE" ] ; then echo "$USERS_WINE_DISABLE" |tr "," "\n" |sed -e "s%^[[:blank:]]*%%;s%[[:blank:]]*$%%" |grep -qxF "$USERNAME" && exit 0 fi exec "$WINE_ORIG" "$@" exit 0