summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-10 23:40:23 +0200
committerGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-10 23:40:23 +0200
commit9c1e0f3dd01151b79e9b557ea8510605616c1369 (patch)
treea7e09e6dab8ea5f13811f7ca5ecf3cef9dfddfd5 /Makefile
parent0791321ed88bc480b193889c26cf4c356f1c78f7 (diff)
downloadmkinitcpio-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 'Makefile')
0 files changed, 0 insertions, 0 deletions