index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-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' |