Skip to content

Commit

Permalink
fix systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed May 13, 2023
1 parent d52d675 commit 8a012ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ cmd=$(type -P apt-get || type -P yum)
[[ ! $cmd ]] && err "此脚本仅支持 ${yellow}(Ubuntu or Debian or CentOS)${none}."

# systemd
[[ ! $(type -P systemd) ]] && {
err "此系统缺少 ${yellow}(systemd)${none}, 请尝试执行:${yellow} ${cmd} update -y;${cmd} install systemd -y ${none}来修复此错误."
[[ ! $(type -P systemctl) ]] && {
err "此系统缺少 ${yellow}(systemctl)${none}, 请尝试执行:${yellow} ${cmd} update -y;${cmd} install systemd -y ${none}来修复此错误."
}

# wget installed or none
Expand Down

0 comments on commit 8a012ab

Please sign in to comment.