忽略失败
This commit is contained in:
parent
8b22126f53
commit
f05295f306
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user