忽略失败

This commit is contained in:
gfdgd xi 2023-07-14 09:46:49 +08:00
parent 8b22126f53
commit f05295f306

View File

@ -9,7 +9,7 @@ MAINVERSION=$1
VERSION=`cat /tmp/kernelversion.txt` VERSION=`cat /tmp/kernelversion.txt`
URL=`cat /tmp/kernelurl.txt` URL=`cat /tmp/kernelurl.txt`
curl https://github.com/gfdgd-xi/dclc-kernel/raw/main/$VERSION-aarch64/index.html | grep 404 curl https://github.com/gfdgd-xi/dclc-kernel/raw/main/$VERSION-aarch64/index.html | grep 404
if [[ $? != 0 ]]; then if [[ $? == 0 ]]; then
exit exit
fi fi
# install dep # install dep