Commit c479e019 authored by Yingjie Xu's avatar Yingjie Xu

Check software_url and software_root also.

parent 105d2073
...@@ -64,7 +64,7 @@ def download_network_cached(cache_url, dir_url, software_url, software_root, ...@@ -64,7 +64,7 @@ def download_network_cached(cache_url, dir_url, software_url, software_root,
if not LIBNETWORKCACHE_ENABLED: if not LIBNETWORKCACHE_ENABLED:
return False return False
if not(cache_url and dir_url): if not(cache_url and dir_url and software_url and software_root):
return False return False
if len(signature_certificate_list) == 0: if len(signature_certificate_list) == 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment