Commit c08e6104 authored by Anton Midyukov's avatar Anton Midyukov

e2k: fix 40-e2k-boot-conf for build ve

parent bf975899
......@@ -9,8 +9,10 @@ KVERSIONS="$(rpm -qa 'kernel-image*' \
| sort -n \
| cut -f 2 -d ' ' \
| sed 's/kernel-image-//')"
[ -n "$KVERSIONS" ] ||
{ echo "** unable to deduce kernel version" >&2; exit 1; }
[ -n "$KVERSIONS" ] || {
echo "40-e2k-boot-conf: kernel image missing, exiting" >&2
exit 0
}
cd /boot
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment