We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57be00c commit 4125e54Copy full SHA for 4125e54
1 file changed
linuxdeploy-plugin-conda.sh
@@ -23,11 +23,15 @@ show_usage() {
23
echo " ARCH=\"x86_64\" (further supported values: i686)"
24
}
25
26
+isterm() {
27
+ return [[ "$TERM" != "" ]];
28
+}
29
+
30
log() {
- [[ "$TERM" != "" ]] && tput setaf 3
- [[ "$TERM" != "" ]] && tput bold
31
+ _isterm && tput setaf 3
32
+ _isterm && tput bold
33
echo -*- "$@"
- [[ "$TERM" != "" ]] && tput sgr0
34
+ _isterm && tput sgr0
35
36
37
APPDIR=
0 commit comments