From 8f604508f50b834670217e34015d01f6e0254446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= Date: Mon, 1 May 2023 08:17:39 +0000 Subject: [PATCH] Update CFwarp.sh --- CFwarp.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CFwarp.sh b/CFwarp.sh index 9029138..a7cbd62 100644 --- a/CFwarp.sh +++ b/CFwarp.sh @@ -101,8 +101,12 @@ fi if [[ ! $(type -P screen) ]]; then $yumapt update;$yumapt install screen fi +if [[ ! $(type -P yum) ]]; then if [[ ! $(type -P cron) ]]; then -$yumapt update;apt install cron -y;yum install cronie -y +$yumapt update;$yumapt install cron +fi +else +$yumapt update;$yumapt install cronie fi nf4() {