grubby/installkernel.in
Javier Martinez Canillas e10461b754 Make installkernel to use kernel-install scripts on BLS configuration
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-08-06 13:34:28 -04:00

9 lines
275 B
Bash

#!/bin/bash
if [[ -x @@LIBEXECDIR@@/installkernel ]] ; then
exec @@LIBEXECDIR@@/installkernel "${@}"
elif [[ -x @@LIBEXECDIR@@/installkernel-bls ]] ; then
exec @@LIBEXECDIR@@/installkernel-bls "${@}"
fi
echo "installkernel is not installed correctly." >>/dev/stderr
exit 1