diff --git a/winehelper b/winehelper index 95deda3..0f11ee7 100755 --- a/winehelper +++ b/winehelper @@ -737,7 +737,7 @@ init_wine_ver () { fi else # use system WINE - if ! command -v "wine" &>/dev/null ; then + if ! rpm -q "wine" 1>/dev/null ; then fatal "system WINE - not found." fi export WINEDIR="/usr"