If /boot/extlinux.conf exists, then run the extlinux installer
authorhpa <hpa>
Thu, 22 Sep 2005 03:47:37 +0000 (03:47 +0000)
committerhpa <hpa>
Thu, 22 Sep 2005 03:47:37 +0000 (03:47 +0000)
syslinux.spec.in

index f16e18d..ec06090 100644 (file)
@@ -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