summaryrefslogtreecommitdiff
path: root/syslinux.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'syslinux.spec.in')
-rw-r--r--syslinux.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/syslinux.spec.in b/syslinux.spec.in
index f16e18d2..ec060905 100644
--- a/syslinux.spec.in
+++ b/syslinux.spec.in
@@ -87,6 +87,9 @@ rm -rf %{buildroot}
%{_libdir}/syslinux/com32
%post
+# If we have a /boot/extlinux.conf file, assume extlinux is our bootloader
+# and update it.
+if [ -f /boot/extlinux.conf ]; then extlinux /boot; fi
%postun