Skip to content

Commit

Permalink
Merge pull request v2fly#166 from IceCodeNew/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
IceCodeNew authored Oct 13, 2020
2 parents 7fef216 + ae19b89 commit 91dcfb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ systemd_cat_config() {
if systemd-analyze --help | grep -qw 'cat-config'; then
systemd-analyze --no-pager cat-config "$@"
else
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 @@ -510,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 91dcfb2

Please sign in to comment.