From ae19b89b9327fad500acbb370ca31df1b2fd77b3 Mon Sep 17 00:00:00 2001 From: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com> Date: Tue, 13 Oct 2020 16:02:46 +0800 Subject: [PATCH] Make output much easier to read. --- install-release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install-release.sh b/install-release.sh index c34e991..2c0feec 100644 --- a/install-release.sh +++ b/install-release.sh @@ -34,8 +34,9 @@ systemd_cat_config() { if systemd-analyze --help | grep -qw 'cat-config'; then systemd-analyze --no-pager cat-config "$@" else - echo + echo "${aoi}~~~~~~~~~~~~~~~~" cat "$@" "$1".d/* + echo "${aoi}~~~~~~~~~~~~~~~~" echo "${red}warning: ${green}The systemd version on the current operating system is too low." echo "${red}warning: ${green}Please consider to upgrade the systemd or the operating system.${reset}" fi @@ -512,6 +513,7 @@ main() { install_software "$package_provide_tput" 'tput' red=$(tput setaf 1) green=$(tput setaf 2) + aoi=$(tput setaf 6) reset=$(tput sgr0) # Parameter information