index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2021-04-06 09:54:24 +0200 |
---|---|---|
committer | Dylan Taylor <dylan@dylanmtaylor.com> | 2021-04-08 20:57:46 -0400 |
commit | 8f7d8df89f14a48132f4d5e7a3dfb556492879ff (patch) | |
tree | 1bb958173fc3f8947825c7b1083dc560a0f36b22 | |
parent | e3ea46ce5c0fc58f142b749aec86ab97a66c0da3 (diff) |
-rw-r--r-- | profiles/i3-wm.py | 11 |
diff --git a/profiles/i3-wm.py b/profiles/i3-wm.py index e700997f..cd6cbc81 100644 --- a/profiles/i3-wm.py +++ b/profiles/i3-wm.py @@ -20,8 +20,13 @@ def _post_install(*args, **kwargs): Another magic function called after the system has been installed. """ - print("the installation of i3-gaps does not conatain any configuerations for the wm. in this shell you should take your time to 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 @@ -32,4 +37,4 @@ if __name__ == 'i3-wm': i3 = archinstall.Application(installation, 'i3-wm') i3.install() # Auto start lightdm for all users - installation.enable_service('lightdm')
\ No newline at end of file + installation.enable_service('lightdm') |