修改判断问题

This commit is contained in:
gfdgd xi 2023-07-14 09:04:51 +08:00
parent 163913da51
commit 03d9691030

View File

@ -20,7 +20,7 @@ if [[ $2 == 1 ]]; then
SHOWVERSION=$VERSION-hwe SHOWVERSION=$VERSION-hwe
fi fi
curl https://github.com/gfdgd-xi/dclc-kernel/raw/main/$SHOWVERSION/index.html | grep 404 curl https://github.com/gfdgd-xi/dclc-kernel/raw/main/$SHOWVERSION/index.html | grep 404
if [[ $? != 0 ]]; then if [[ $? == 0 ]]; then
exit exit
fi fi
# install dep # install dep