From c3e4753ce951f759844db13d98f9ad5b226f84b6 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 2 Mar 2020 19:00:19 +0100 Subject: docs: generic documentation from the installation scripts Signed-off-by: Markus Heiser --- utils/lib.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'utils/lib.sh') diff --git a/utils/lib.sh b/utils/lib.sh index 47e9e8030..6de66bcaf 100755 --- a/utils/lib.sh +++ b/utils/lib.sh @@ -933,7 +933,9 @@ pkg_install() { # usage: TITEL='install foobar' pkg_install foopkg barpkg rst_title "${TITLE:-installation of packages}" section - echo -en "\npackage(s)::\n\n $*\n" | $FMT + echo -e "\npackage(s)::\n" + # shellcheck disable=SC2068 + echo " " $@ | $FMT if ! ask_yn "Should packages be installed?" Yn 30; then return 42 @@ -959,7 +961,9 @@ pkg_remove() { # usage: TITEL='remove foobar' pkg_remove foopkg barpkg rst_title "${TITLE:-remove packages}" section - echo -en "\npackage(s)::\n\n $*\n" | $FMT + echo -e "\npackage(s)::\n" + # shellcheck disable=SC2068 + echo " " $@ | $FMT if ! ask_yn "Should packages be removed (purge)?" Yn 30; then return 42 -- cgit v1.2.3