diff --git a/build_action.sh b/build_action.sh index 4941ce0..157684f 100644 --- a/build_action.sh +++ b/build_action.sh @@ -16,7 +16,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 diff --git a/build_action_xanmod.sh b/build_action_xanmod.sh index 19ec16d..79c9d09 100644 --- a/build_action_xanmod.sh +++ b/build_action_xanmod.sh @@ -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