diff --git a/pkg/de-p1st-mkinitcpio/.install b/pkg/de-p1st-mkinitcpio/.install index d8f272c..4e8faec 100644 --- a/pkg/de-p1st-mkinitcpio/.install +++ b/pkg/de-p1st-mkinitcpio/.install @@ -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 diff --git a/pkg/de-p1st-mkinitcpio/PKGBUILD b/pkg/de-p1st-mkinitcpio/PKGBUILD index 59d7922..69ae8d3 100644 --- a/pkg/de-p1st-mkinitcpio/PKGBUILD +++ b/pkg/de-p1st-mkinitcpio/PKGBUILD @@ -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')