forked from CastroFidel/winehelper
disabled check dependencies if without terminal
This commit is contained in:
@@ -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,\
|
||||
|
||||
Reference in New Issue
Block a user