Add PortNAME_vars

This commit is contained in:
castro-fidel
2020-11-23 01:34:22 +03:00
parent 1887b03ffa
commit fcc2062221
9 changed files with 135 additions and 36 deletions

View File

@ -60,14 +60,14 @@ 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 -x"
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"
elif [ -x "`which lxterminal 2>/dev/null`" ]; then
export PW_TERM="lxterminal -e"
# elif [ -x "`which xfce4-terminal 2>/dev/null`" ]; then
# export PW_TERM="xfce4-terminal -x" #test
fi
fi
########################################################################