void-packages/srcpkgs/memtest86+/INSTALL
newbluemoon c2f1a08cfd
memtest86+: fix build
Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>

fixes #10359
fixes #10358
2019-03-29 13:10:29 -03:00

15 lines
303 B
Text

# grub: follows /etc/kernel.d/post-install/50-grub actions
case ${ACTION} in
post)
RESULT=0
if ! command -v grub-mkconfig >/dev/null 2>&1; then
exit 0
fi
if [ -d $ROOTDIR/boot/grub ]; then
grub-mkconfig -o $ROOTDIR/boot/grub/grub.cfg
RESULT=$?
fi
[ $RESULT -ne 0 ] && exit $RESULT
;;
esac