mkinitcpio: improve .install

This commit is contained in:
Daniel Langbein 2021-05-03 13:34:00 +02:00
parent c6b7fb91e8
commit 66b26a20d2
2 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,10 @@ pre_install() {
## arg 1: the new package version
post_install() {
holo apply
mkinitcpio -P
if ! mkinitcpio -P; then
echo "The previous error can be ignored on initial system installation. One should however execute 'mkinitcpio -P' after the kernel was installed.";
return 1;
fi
}
## arg 1: the new package version

View File

@ -2,7 +2,7 @@
_pkgname=mkinitcpio
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.2
pkgver=0.0.3
pkgrel=1
pkgdesc="mkinitcpio configuration"
arch=('any')