From 6a7d6cdf39944ec225812411b039db6a360b6a16 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 1 Jan 2024 19:35:58 +0100 Subject: [PATCH] Fix error message formatting + lack of pointer to log --- bookworm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookworm b/bookworm index e1c4aaa..9dfe70a 100755 --- a/bookworm +++ b/bookworm @@ -198,7 +198,7 @@ function _apt() { show_apt_progress $percent "$title" "$message"; done \ && printf "$resetline $bold${green}Done$normal" \ - || { printf "$resetline $bold${green}'apt-get $* failed$normal\n\n"; return 1; } + || { printf "$resetline $bold${red}'apt-get $*' failed.$normal Please check $YUNOHOST_LOG for debugging\n\n"; return 1; } else # Why we need pipefail : https://stackoverflow.com/a/6872163 apt-get $* 2>&1 | tee -a $YUNOHOST_LOG || return 1