Skip to content

Commit

Permalink
Make output much easier to read.
Browse files Browse the repository at this point in the history
  • Loading branch information
IceCodeNew committed Oct 13, 2020
1 parent 7b5fe33 commit ae19b89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ae19b89

Please sign in to comment.