diff --git a/InstallBox86.sh b/InstallBox86.sh index 41a31f5..2f83d01 100755 --- a/InstallBox86.sh +++ b/InstallBox86.sh @@ -12,7 +12,8 @@ if [[ $PCArch != "aarch64" ]] && [[ $PCArch != "arm64" ]]; then read exit 1 fi -if [[ -f /etc/apt/sources.list.d/box86.list ]]; then +which box86 +if [[ $? == 0 ]]; then echo 已安装,结束 echo 按回车键退出 read