aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2005-09-22 03:47:37 +0000
committerhpa <hpa>2005-09-22 03:47:37 +0000
commit8f4e42608d6b0a5b1889c0d7e3906a24f0fe283f (patch)
treeac72c99bafd452a46396413411e8835db764ac0b
parent70d29bc5c0a20a6b825c3250f2f7c1bfb3e5764d (diff)
downloadsyslinux-8f4e42608d6b0a5b1889c0d7e3906a24f0fe283f.tar.gz
syslinux-8f4e42608d6b0a5b1889c0d7e3906a24f0fe283f.tar.xz
syslinux-8f4e42608d6b0a5b1889c0d7e3906a24f0fe283f.zip
If /boot/extlinux.conf exists, then run the extlinux installer
-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