diff --git a/srcpkgs/initramfs-tools/files/update-initramfs b/srcpkgs/initramfs-tools/files/update-initramfs index b167344a7d..8b3d7909e4 100755 --- a/srcpkgs/initramfs-tools/files/update-initramfs +++ b/srcpkgs/initramfs-tools/files/update-initramfs @@ -180,9 +180,8 @@ run_bootloader() echo "update-initramfs: please run 'grub-install ${dev}'." fi - if [ -x "$(which grub-mkconfig 2>/dev/null)" ]; then - echo "Updating GRUB2 configuration file..." - grub-mkconfig -o /boot/grub/grub.cfg + if [ -x /usr/sbin/grub-mkconfig ]; then + /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg fi } diff --git a/srcpkgs/initramfs-tools/template b/srcpkgs/initramfs-tools/template index 11e1c1fc96..0ede9d1f60 100644 --- a/srcpkgs/initramfs-tools/template +++ b/srcpkgs/initramfs-tools/template @@ -1,6 +1,6 @@ # Template file for 'initramfs-tools' pkgname=initramfs-tools -version=0.98 +version=0.98.1 build_style=custom-install short_desc="Tools for generating an initramfs" maintainer="Juan RP " @@ -17,8 +17,10 @@ noextract=yes noarch=yes keep_empty_dirs=yes triggers="initramfs-tools" -conf_files="/etc/$pkgname/initramfs.conf /etc/$pkgname/update-initramfs.conf - /etc/$pkgname/modules" +conf_files=" +/etc/$pkgname/initramfs.conf +/etc/$pkgname/update-initramfs.conf +/etc/$pkgname/modules" Add_dependency full glibc Add_dependency full cpio