Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall.py6
1 files changed, 6 insertions, 0 deletions
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'