Some language correction and function handling
I more or less copied the language from i3-wm as it was more correct. Also converted `print()` into `installation.log()` so that we can get some color control and end up in the debug log. Finally, I added a try/except to handle potential crashes and return return values, since otherwise this would happen every run: * https://github.com/archlinux/archinstall/pull/190/files#diff-98d75a109b5337cd7d7c948d2cfc2379bcc51be22dfa3ca6491765f0e0bcaaabR349-R355
This commit is contained in:
parent
f0e40f5676
commit
2f153d4882
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue