diff --git a/setup/build_linux b/setup/build_linux index 937e911a..16e8d8c0 100755 --- a/setup/build_linux +++ b/setup/build_linux @@ -345,7 +345,11 @@ function build_all() { fix_kit_permissions install_deps load_settings --edit - update_repo + + # Build repo if needed + if ! [[ -e "${REPO_DIR}/custom.db.tar.gz" ]]; then + update_repo + fi # Build (full) copy_live_env @@ -414,7 +418,13 @@ function build_full() { fix_kit_permissions install_deps load_settings --edit - update_repo + + # Build repo if needed + if ! [[ -e "${REPO_DIR}/custom.db.tar.gz" ]]; then + update_repo + fi + + # Build Full copy_live_env update_live_env # Rerun script as root to start Archiso build process @@ -435,7 +445,13 @@ function build_minimal() { fix_kit_permissions install_deps load_settings --edit - update_repo + + # Build repo if needed + if ! [[ -e "${REPO_DIR}/custom.db.tar.gz" ]]; then + update_repo + fi + + # Build Minimal copy_live_env --minimal update_live_env --minimal # Rerun script as root to start Archiso build process