File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -836,13 +836,13 @@ def minimal_installation(
836836 pacman_conf = pacman .Config (self .target )
837837 if multilib :
838838 info ("The multilib flag is set. This system will be installed with the multilib repository enabled." )
839- pacman_conf .enable (pacman .Repo .Multilib )
839+ pacman_conf .enable (pacman .Repo .MULTILIB )
840840 else :
841841 info ("The multilib flag is not set. This system will be installed without multilib repositories enabled." )
842842
843843 if testing :
844844 info ("The testing flag is set. This system will be installed with testing repositories enabled." )
845- pacman_conf .enable (pacman .Repo .Testing )
845+ pacman_conf .enable (pacman .Repo .TESTING )
846846 else :
847847 info ("The testing flag is not set. This system will be installed without testing repositories enabled." )
848848
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ def apply(self) -> None:
1818 if not self .repos :
1919 return
2020
21- if Repo .Testing in self .repos :
22- if Repo .Multilib in self .repos :
23- repos_pattern = f'({ Repo .Multilib .value } |.+-{ Repo .Testing .value } )'
21+ if Repo .TESTING in self .repos :
22+ if Repo .MULTILIB in self .repos :
23+ repos_pattern = f'({ Repo .MULTILIB .value } |.+-{ Repo .TESTING .value } )'
2424 else :
25- repos_pattern = f'(?!{ Repo .Multilib .value } ).+-{ Repo .Testing .value } '
25+ repos_pattern = f'(?!{ Repo .MULTILIB .value } ).+-{ Repo .TESTING .value } '
2626 else :
27- repos_pattern = Repo .Multilib .value
27+ repos_pattern = Repo .MULTILIB .value
2828
2929 pattern = re .compile (rf"^#\s*\[{ repos_pattern } \]$" )
3030
Original file line number Diff line number Diff line change 22
33
44class Repo (Enum ):
5- Multilib = "multilib"
6- Testing = "testing"
5+ MULTILIB = "multilib"
6+ TESTING = "testing"
You can’t perform that action at this time.
0 commit comments