Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/i3-gaps.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/profiles/i3-gaps.py b/profiles/i3-gaps.py
index d9469dcd..96d972e3 100644
--- a/profiles/i3-gaps.py
+++ b/profiles/i3-gaps.py
@@ -21,8 +21,13 @@ def _post_install(*args, **kwargs):
Another magic function called after the system
has been installed.
"""
- print("the installation of i3 does not conatain any configuerations for the wm. in this shell you take your time should add your configuerations")
- subprocess.check_call("arch-chroot /mnt",shell=True)
+ installation.log("the installation of i3 does not conatain any configuerations for the wm. In this shell you should take your time to add your desiired configueration. Exit the shell once you are done to continue the installation.", fg="yellow")
+ try:
+ subprocess.check_call("arch-chroot /mnt",shell=True)
+ except subprocess.CallProcessError:
+ return False
+
+ return True
if __name__ == 'i3-wm':
# Install dependency profiles