Commit d0d86469 authored by Mikhail Tergoev's avatar Mikhail Tergoev

update portproton installation script 3

parent 290ff8b1
...@@ -106,19 +106,16 @@ else ...@@ -106,19 +106,16 @@ else
if [ $? -eq 1 ] ; then echo "error" && exit 1 ; fi if [ $? -eq 1 ] ; then echo "error" && exit 1 ; fi
fi fi
######################################################################## ########################################################################
if [ "${PW_SILENT_INSTALL}" != "1" ] ; then case $PW_SET_LANG in
case $PW_SET_LANG in "Russian")
"Russian") progress_bar() {
progress_bar() { zenity --progress --title="Установка..." --text="Настройка ${portname}" --pulsate --auto-close --auto-kill --width=450 > /dev/null 2>&1
zenity --progress --title="Установка..." --text="Настройка ${portname}" --pulsate --auto-close --auto-kill --width=450 > /dev/null 2>&1 } ;;
} ;; "English")
"English") progress_bar() {
progress_bar() { zenity --progress --title="Install..." --text="Install ${portname}" --pulsate --auto-close --auto-kill --width=450 > /dev/null 2>&1
zenity --progress --title="Install..." --text="Install ${portname}" --pulsate --auto-close --auto-kill --width=450 > /dev/null 2>&1 } ;;
} ;; esac
esac
if [ $? -eq 1 ] ; then echo "error" && exit 1 ; fi
fi
######################################################################## ########################################################################
export PORT_WINE_PATH="${D_PATH}" export PORT_WINE_PATH="${D_PATH}"
if [ ! -d "${PORT_WINE_PATH}" ] ; then if [ ! -d "${PORT_WINE_PATH}" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment