diff --git a/APP-MANAGER b/APP-MANAGER index 8321c5a9c..524f0909b 100755 --- a/APP-MANAGER +++ b/APP-MANAGER @@ -1,6 +1,6 @@ #!/usr/bin/env bash -AMVERSION="8.2-2" +AMVERSION="8.2.1" # Determine main repository and branch AMREPO="https://raw.githubusercontent.com/ivan-hc/AM/main" @@ -1104,7 +1104,7 @@ case "$1" in 'list'|'-l'|\ 'query'|'-q') MODULE="database.am" - _use_module "$@" + if [ -t 1 ]; then _use_module "$@"; else _use_module "$@" | sed -e 's/\x1b\[[0-9;]*m//g'; fi ;; 'backup'|'-b'|\ 'downgrade'|'--rollback'|\ @@ -1158,7 +1158,7 @@ case "$1" in _use_clean ;; 'help'|'-h') - _use_help + if [ -t 1 ]; then _use_help; else _use_help | sed -e 's/\x1b\[[0-9;]*m//g'; fi ;; 'newrepo'|'neodb') _use_newrepo "$@"