diff options
author | Giancarlo Razzolini <grazzolini@archlinux.org> | 2019-10-10 23:40:23 +0200 |
---|---|---|
committer | Giancarlo Razzolini <grazzolini@archlinux.org> | 2019-10-10 23:40:23 +0200 |
commit | 9c1e0f3dd01151b79e9b557ea8510605616c1369 (patch) | |
tree | a7e09e6dab8ea5f13811f7ca5ecf3cef9dfddfd5 /test/test_parse_cmdline | |
parent | 0791321ed88bc480b193889c26cf4c356f1c78f7 (diff) | |
download | mkinitcpio-9c1e0f3dd01151b79e9b557ea8510605616c1369.tar.gz mkinitcpio-9c1e0f3dd01151b79e9b557ea8510605616c1369.tar.xz |
Rework the install script a bit more
Added comments to make the flow more understandable. We now actively bail when
we encounter a kernel with no pkgbase. Also, if the preset does not exist yet,
and there is a .pacsave, we move that instead of copying from the template. Move
the preset check alongside the check if all was passed and finally, check if the
args array is not empty, before trying to run mkinitcpio.
Diffstat (limited to 'test/test_parse_cmdline')
0 files changed, 0 insertions, 0 deletions