fix: chroot buid: Selecting value "user-built" for proper operation (#4280)

The else condition will never be met.
The chroot_build_packages function collects all packages everything
for all operating systems and the user is drowning in the amount
of code being executed.
This commit is contained in:
The-going
2022-10-22 18:32:47 +03:00
committed by GitHub
parent 26740590e4
commit d58c839c04

View File

@@ -151,9 +151,9 @@ function prepare_and_config_main_build_single() {
Called early, before any compilation work starts.
POST_DETERMINE_CTHREADS
if [[ $BETA == yes ]]; then
if [[ "$BETA" == "yes" ]]; then
IMAGE_TYPE=nightly
elif [[ $BETA != "yes" ]]; then
elif [ "$BETA" == "no" ] || [ "$RC" == "yes" ]; then
IMAGE_TYPE=stable
else
IMAGE_TYPE=user-built