diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-26 07:04:44 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-26 07:04:44 -0300 |
commit | 224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3 (patch) | |
tree | 21f0f00d6ca7a856bde8310b4558a527717a6d85 /libre/syslinux-parabola/syslinux.install | |
parent | 317a3b1d822c252c9f341170cf47a85d72cddde6 (diff) |
add parabola suffix on some packages
Diffstat (limited to 'libre/syslinux-parabola/syslinux.install')
-rw-r--r-- | libre/syslinux-parabola/syslinux.install | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/libre/syslinux-parabola/syslinux.install b/libre/syslinux-parabola/syslinux.install new file mode 100644 index 000000000..ed8387773 --- /dev/null +++ b/libre/syslinux-parabola/syslinux.install @@ -0,0 +1,43 @@ +post_install() { + + cat << EOF + +==> For setting up Syslinux BIOS using the syslinux-install_update script follow + https://wiki.parabolagnulinux.org/index.php/Syslinux#Automatic_Install +EOF + + ## Message specific to Syslinux 4.xx (or 5.xx) to 6.xx upgrade + if [ "$(vercmp $2 6.00)" -lt 0 ]; then + + cat << EOF + +==> If you are upgrading from Syslinux 4.xx or 5.xx, please re-install + (not update) Syslinux BIOS manually (not using the install script) once + by following https://wiki.parabolagnulinux.org/index.php/Syslinux#Manual_install + +==> The install script may not properly upgrade Syslinux to 6.xx version +EOF + + fi + + cat << EOF + +==> For setting up Syslinux EFI follow + https://wiki.parabolagnulinux.org/index.php/Syslinux#UEFI_Systems + +==> The syslinux-install_update script does not currently support EFI install + +EOF + +} + +post_upgrade() { + + ## auto-update syslinux if /boot/syslinux/SYSLINUX_AUTOUPDATE exists + /usr/bin/syslinux-install_update -s + + post_install + +} + +# vim:set ts=2 sw=2 et: |