forked from CastroFidel/PortWINE
Major changes port_on and add use terminal in vars
This commit is contained in:
@ -53,6 +53,19 @@ export PW_COMPAT_MEDIA_PATH="${PW_COMPAT_MEDIA_PATH}"
|
||||
########################################################################
|
||||
export urlg="http://portwine-linux.ru/donate"
|
||||
########################################################################
|
||||
export PW_TERM=""
|
||||
if [ "${PW_USE_TERMINAL}" = "1" ]; then
|
||||
if [ -x "`which konsole 2>/dev/null`" ]; then
|
||||
export PW_TERM="konsole -e"
|
||||
elif [ -x "`which xfce4-terminal 2>/dev/null`" ]; then
|
||||
export PW_TERM="xfce4-terminal -e"
|
||||
elif [ -x "`which xterm 2>/dev/null`" ]; then
|
||||
export PW_TERM="xterm -e"
|
||||
elif [ -x "`which gnome-terminal 2>/dev/null`" ]; then
|
||||
export PW_TERM="gnome-terminal -- $SHELL -c"
|
||||
fi
|
||||
fi
|
||||
########################################################################
|
||||
START_PORTWINE ()
|
||||
{
|
||||
sh "${PORT_SCRIPTS_PATH}"/port_update
|
||||
|
Reference in New Issue
Block a user