Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 7ded5c53..65f4c9d9 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -386,7 +386,7 @@ def perform_installation(mountpoint):
if len(archinstall.arguments['custom-commands']):
for command in archinstall.arguments['custom-commands']:
archinstall.log(f'Executing custom command "{command}" ...', fg='yellow')
- SysCommand(f"arch-chroot /mnt {command}")
+ SysCommand(f"arch-chroot /mnt bash -c '{command}'")
installation.log("For post-installation tips, see https://wiki.archlinux.org/index.php/Installation_guide#Post-installation", fg="yellow")