diff --git a/portwine_install_script/portproton b/portwine_install_script/portproton index cee8ac28..b45d6536 100755 --- a/portwine_install_script/portproton +++ b/portwine_install_script/portproton @@ -106,19 +106,16 @@ else if [ $? -eq 1 ] ; then echo "error" && exit 1 ; fi fi ######################################################################## -if [ "${PW_SILENT_INSTALL}" != "1" ] ; then - case $PW_SET_LANG in - "Russian") - progress_bar() { - zenity --progress --title="Установка..." --text="Настройка ${portname}" --pulsate --auto-close --auto-kill --width=450 > /dev/null 2>&1 - } ;; - "English") - progress_bar() { - zenity --progress --title="Install..." --text="Install ${portname}" --pulsate --auto-close --auto-kill --width=450 > /dev/null 2>&1 - } ;; - esac - if [ $? -eq 1 ] ; then echo "error" && exit 1 ; fi -fi +case $PW_SET_LANG in + "Russian") + progress_bar() { + zenity --progress --title="Установка..." --text="Настройка ${portname}" --pulsate --auto-close --auto-kill --width=450 > /dev/null 2>&1 + } ;; + "English") + progress_bar() { + zenity --progress --title="Install..." --text="Install ${portname}" --pulsate --auto-close --auto-kill --width=450 > /dev/null 2>&1 + } ;; +esac ######################################################################## export PORT_WINE_PATH="${D_PATH}" if [ ! -d "${PORT_WINE_PATH}" ] ; then