From b86a63aced0f4513bfa1c79e701890800c41d195 Mon Sep 17 00:00:00 2001 From: iridiumR Date: Sun, 22 Jan 2023 09:48:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 似乎并不需要在这里再次安装 git --- script/install.sh | 2 +- script/install_en.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script/install.sh b/script/install.sh index 04d0c1c..f739365 100755 --- a/script/install.sh +++ b/script/install.sh @@ -151,7 +151,7 @@ install_arch(){ install_soft() { (command -v yum >/dev/null 2>&1 && yum makecache && yum install $* selinux-policy -y) || (command -v apt >/dev/null 2>&1 && apt update && apt install $* selinux-utils -y) || - (command -v pacman >/dev/null 2>&1 && pacman -Syu $* base-devel git --noconfirm && install_arch) || + (command -v pacman >/dev/null 2>&1 && pacman -Syu $* base-devel --noconfirm && install_arch) || (command -v apt-get >/dev/null 2>&1 && apt-get update && apt-get install $* selinux-utils -y) || (command -v apk >/dev/null 2>&1 && apk update && apk add $* -f) } diff --git a/script/install_en.sh b/script/install_en.sh index 6a1fd53..a863ded 100755 --- a/script/install_en.sh +++ b/script/install_en.sh @@ -122,7 +122,7 @@ install_arch(){ install_soft() { (command -v yum >/dev/null 2>&1 && yum makecache && yum install $* selinux-policy -y) || (command -v apt >/dev/null 2>&1 && apt update && apt install $* selinux-utils -y) || - (command -v pacman >/dev/null 2>&1 && pacman -Syu $* base-devel git --noconfirm && install_arch) || + (command -v pacman >/dev/null 2>&1 && pacman -Syu $* base-devel --noconfirm && install_arch) || (command -v apt-get >/dev/null 2>&1 && apt-get update && apt-get install $* selinux-utils -y) || (command -v apk >/dev/null 2>&1 && apk update && apk add $* -f) }