Skip to content

Commit cf2b76c

Browse files
committed
gateway-dk-ask: don't fetch ask repo also during download-artifact
- `download-artifact` should not cause a fetch, as it would fail anyway
1 parent 12b6bd9 commit cf2b76c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/gateway-dk-ask.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function post_family_config__000_ask_override_family() {
5252
# Uses post_family_config because the kernel patch staging hook needs it before fetch_sources_tools runs
5353
function post_family_config__ask_fetch_repo() {
5454
# Skip during config-dump-json: no $HOME is set, fetch_from_repo would fail in git_ensure_safe_directory
55-
[[ "${CONFIG_DEFS_ONLY}" == "yes" ]] && {
55+
[[ "${CONFIG_DEFS_ONLY}" == "yes" || "${ARMBIAN_COMMAND}" == "download-artifact" ]] && {
5656
declare -g ASK_CACHE_DIR="${SRC}/cache/sources/ask-repo"
5757
return 0
5858
}

0 commit comments

Comments
 (0)