Skip to content

Commit 1a1214e

Browse files
committed
Merge remote-tracking branch 'origin/master' into fix-1808-snappre
2 parents e66560e + 9af2321 commit 1a1214e

4 files changed

Lines changed: 8 additions & 389 deletions

File tree

archinstall/lib/models/mirrors.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,12 @@ def json(self) -> _MirrorConfigurationSerialization:
258258
}
259259

260260
def custom_servers_config(self) -> str:
261-
config = "## Custom Servers\n"
261+
config = ""
262262

263-
for server in self.custom_servers:
264-
config += f"Server = {server.url}\n"
263+
if self.custom_servers:
264+
config += "## Custom Servers\n"
265+
for server in self.custom_servers:
266+
config += f"Server = {server.url}\n"
265267

266268
return config.strip()
267269

examples/interactive_installation.py

Lines changed: 0 additions & 195 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../archinstall/scripts/guided.py

examples/minimal_installation.py

Lines changed: 0 additions & 100 deletions
This file was deleted.

examples/minimal_installation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../archinstall/scripts/minimal.py

0 commit comments

Comments
 (0)