index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-03-15 15:37:33 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-03-15 15:37:33 +0000 |
commit | e9aadfa29b6d5009fa1542e145e9b2e640221a7f (patch) | |
tree | eb480d601cf295733df76be0bb023b1b64e30b42 | |
parent | 13a44243a853281905a4d967ada1cd7191f75dbb (diff) |
-rw-r--r-- | archinstall.py | 6 |
diff --git a/archinstall.py b/archinstall.py index 0d70b3e3..cc984683 100644 --- a/archinstall.py +++ b/archinstall.py @@ -983,6 +983,12 @@ def add_specific_mirrors(mirrors, *positionals, **kwargs): mirrorlist.write(f'Server = {url}\n') return True +def flush_all_mirrors(*positionals, **kwargs): + if not SAFETY_LOCK: + with open('/etc/pacman.d/mirrorlist', 'w') as mirrorlist: + mirrorlist.write('\n') # TODO: Not needed. + return True + def strap_in_base(*positionals, **kwargs): if args['aur-support']: args['packages'] += ' git' |