Commit 3717dfe1 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: save installer update to workdir if set

parent 2933d5f0
......@@ -691,7 +691,6 @@ def download_file(url, destination, progress=None, blocksize=1048576):
progress(downloaded, total)
except Exception:
raise DownloadFailed('A network error has occurred while '
'trying to download {}'.format(url))
......@@ -1156,7 +1155,8 @@ def self_update(ctx):
log.debug('New version of installer is available '
'(%s) - self-updating', latestver)
tmpf = tempfile.NamedTemporaryFile(delete=False)
tmpf = tempfile.NamedTemporaryFile(
prefix='new_fslinstaller', delete=False, dir=ctx.args.workdir)
tmpf =
Supports Markdown
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