update portproton installation script 3
This commit is contained in:
parent
290ff8b18c
commit
d0d8646919
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user