From f9d308e214c8db396fbd754e1a809d8bb136b3bf Mon Sep 17 00:00:00 2001 From: iVAN <88724353+ivan-hc@users.noreply.github.com> Date: Mon, 16 Sep 2024 19:59:25 +0200 Subject: [PATCH 1/2] Allow use of "less", printing messages on files etcetera... ...and bypass ASCI colors --- APP-MANAGER | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/APP-MANAGER b/APP-MANAGER index 8321c5a9c..dfc4fbde0 100755 --- a/APP-MANAGER +++ b/APP-MANAGER @@ -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 "$@" From 4e1fb3f27e3b804a83e9d41b5d244eaf20b76539 Mon Sep 17 00:00:00 2001 From: iVAN <88724353+ivan-hc@users.noreply.github.com> Date: Mon, 16 Sep 2024 23:58:15 +0200 Subject: [PATCH 2/2] Update APP-MANAGER --- APP-MANAGER | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APP-MANAGER b/APP-MANAGER index dfc4fbde0..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"