diff --git a/winehelper b/winehelper index 407f74d..0468ee7 100755 --- a/winehelper +++ b/winehelper @@ -211,7 +211,7 @@ su_run () { # fonts-ttf-ms check_deps_i586 () { - if [[ $WH_USE_GUI != "1" ]] \ + if [[ $WH_USE_GUI != "1" ]] && [[ -t 0 ]] \ && ! rpm -q {i586-,}{wine,glibc-core,libstdc++6,glibc-pthread,glibc-nss,\ libnm,libnss,libnss-mdns,libnsl1,libunwind,libunixODBC2,ocl-icd,libfreetype,\ libcups,libfontconfig1,libgnutls30,libGL,libEGL,libvulkan1,xorg-dri-swrast,\