修改判断问题
This commit is contained in:
parent
163913da51
commit
03d9691030
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user