Skip to content

Commit fdb7099

Browse files
author
ron.record
committed
Set TERM environment variable if not already set
1 parent 7777312 commit fdb7099

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bin/roon

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,10 @@ ROONETC=${ROON}/etc
797797
ROON_INI=${ROONETC}/roon_api.ini
798798
ROONCONF=${ROONETC}/pyroonconf
799799
LOCAL=false
800+
801+
# Set a default TERM if one not already set
802+
[ "${TERM}" ] || export TERM="vt100"
803+
800804
BOLD=$(tput bold 2>/dev/null)
801805
NORMAL=$(tput sgr0 2>/dev/null)
802806

@@ -2813,7 +2817,7 @@ shuffled=
28132817
fi
28142818
fi
28152819
}
2816-
2820+
28172821
if [ "${open_roon_gui}" ]; then
28182822
[ -x ${ROON}/bin/roongui ] && ${ROON}/bin/roongui
28192823
else

0 commit comments

Comments
 (0)