Skip to content

如果没有 curl, 则采用 wget 下载 #4

@edwinjhlee

Description

@edwinjhlee

get/index.html

Lines 27 to 31 in 1c69988

command curl --fail "$url" >"$target" 2>/dev/null || {
command rm -rf "$tmptgt";
___x_cmd_get_log "Fail to download from: $url";
exit 1;
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions