修改判断问题

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
fi
curl https://github.com/gfdgd-xi/dclc-kernel/raw/main/$SHOWVERSION/index.html | grep 404
if [[ $? != 0 ]]; then
if [[ $? == 0 ]]; then
exit
fi
# install dep
@ -197,4 +197,4 @@ EOF
git config --global user.name gfdgd-xi
git commit -m 提交$VERSION
git push
fi
fi