diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2009-12-25 23:44:32 -0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2009-12-25 23:44:32 -0200 |
commit | 8211a9256d3296b0e128990bfdfec4d792f5145e (patch) | |
tree | 1e617577b8c630b8bb18e34b58cb9e57c9001213 /scripts | |
parent | small fix on g_octave/config.py; added "Download Page" section to (diff) | |
download | g-octave-8211a9256d3296b0e128990bfdfec4d792f5145e.tar.gz g-octave-8211a9256d3296b0e128990bfdfec4d792f5145e.tar.bz2 g-octave-8211a9256d3296b0e128990bfdfec4d792f5145e.zip |
changes on g_octave/fetch.py to remove the missing dependency of wget
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/g-octave | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/g-octave b/scripts/g-octave index 7102ad9..6e25093 100755 --- a/scripts/g-octave +++ b/scripts/g-octave @@ -130,11 +130,14 @@ def main(): out.eerror('Overlay: %s' % conf_prefetch.overlay) sys.exit(1) - out.einfo('Looking for updates. Some download may be needed.') - print + files = check_updates() + + if len(files) > 0: + out.einfo('Updates are available. Downloading ...') + print + download_files(files) + print - check_updates() - download_files() check_db_cache() conf = Config() |