Skip to content

Commit

Permalink
Merge pull request #135 from RT-Thread/revert-134-master
Browse files Browse the repository at this point in the history
Revert "[bug] if no .config use the no mirror"
  • Loading branch information
supperthomas committed Nov 24, 2021
2 parents 8bedcc7 + bdec46b commit 373624f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmds/cmd_package/cmd_package_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def need_using_mirror_download(config_file):
"""default using mirror url to download packages"""

if not os.path.isfile(config_file):
return False
return True
elif os.path.isfile(config_file) and find_macro_in_config(config_file, 'SYS_PKGS_DOWNLOAD_ACCELERATE'):
return True

Expand Down

0 comments on commit 373624f

Please sign in to comment.