Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
diff options
context:
space:
mode:
author0xShree <49250702+0xShree@users.noreply.github.com>2022-08-01 08:33:38 +0000
committerGitHub <noreply@github.com>2022-08-01 10:33:38 +0200
commit94d611d22f178474d1f3a491cfe60e99bd3293b3 (patch)
tree83c87e6f4434dc258bf0862b8c1d5b2a51137413 /archinstall/lib/installer.py
parent31e6eca3af607bbfa79cda30c9e0ff16bb2b66c3 (diff)
Change regex expression only to match #[multilib] string (#1364)
* Changed regex expression only to match [multilib] string * Update multilib regex expression * Update regex expression Add raw string format
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index f874c7fa..42f71678 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -325,7 +325,7 @@ class Installer:
def enable_multilib_repository(self):
# Set up a regular expression pattern of a commented line containing 'multilib' within []
- pattern = re.compile("^#\\[.*multilib.*\\]$")
+ pattern = re.compile(r"^#\s*\[multilib\]$")
# This is used to track if the previous line is a match, so we end up uncommenting the line after the block.
matched = False