forked from CastroFidel/PortWINE
Added silent installation
This commit is contained in:
@ -11,6 +11,10 @@ clear && echo '
|
||||
'
|
||||
########################################################################
|
||||
[ $(id -u) = 0 ] && echo "Do not run this script as root!" && zenity --error --text "Do not run this script as root!" && exit 1
|
||||
if [ "${s_install}" != "1" ] && [ ! -x "`which "zenity" 2>/dev/null`" ];then
|
||||
echo "You will need to install: zenity, and restart the port."
|
||||
xdg-open "http://portwine-linux.ru/portwine-faq/" > /dev/null 2>&1 & exit 0
|
||||
fi
|
||||
########################################################################
|
||||
sszen() {
|
||||
zenity --progress --title="Settings..." --text="Updating start parameters" --pulsate --auto-close --auto-kill --width=450
|
||||
|
Reference in New Issue
Block a user