diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-19 16:46:33 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-19 16:46:33 -0300 |
commit | a84211e8bdccdd64abd5e8fd95b9049db3304ff7 (patch) | |
tree | 5b0fd4cb09293a60ebdad1b4ad8f45236164f44a /libre/syslinux/syslinux.install | |
parent | a205f2124649f3d92a382f7e9786367a9bb71ab3 (diff) | |
download | abslibre-a84211e8bdccdd64abd5e8fd95b9049db3304ff7.tar.gz abslibre-a84211e8bdccdd64abd5e8fd95b9049db3304ff7.tar.bz2 abslibre-a84211e8bdccdd64abd5e8fd95b9049db3304ff7.zip |
syslinux-5.01-4: updating version
Diffstat (limited to 'libre/syslinux/syslinux.install')
-rw-r--r-- | libre/syslinux/syslinux.install | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/libre/syslinux/syslinux.install b/libre/syslinux/syslinux.install index 0dc0ece36..19caa1026 100644 --- a/libre/syslinux/syslinux.install +++ b/libre/syslinux/syslinux.install @@ -1,13 +1,26 @@ post_install() { echo "==> If you want to use syslinux as your bootloader" echo "==> edit /boot/syslinux/syslinux.cfg and run" - echo "==> # /usr/sbin/syslinux-install_update -i -a -m" + echo "==> # /usr/bin/syslinux-install_update -i -a -m" echo "==> to install it." } post_upgrade() { # auto-update syslinux if /boot/syslinux/SYSLINUX_AUTOUPDATE exists - /usr/sbin/syslinux-install_update -s + /usr/bin/syslinux-install_update -s + # update to 5.01 message + if [ "$(vercmp $2 5.01)" -lt 0 ]; then + echo "If you used syslinux-install_update to install syslinux:" + echo "==> If you want to use syslinux with menu and all modules please rerun" + echo "==> # /usr/bin/syslinux-install_update -i -a -m" + echo "" + echo "If you manually installed syslinux:" + echo "==> Please copy or symlink all .c32 modules to your /boot/syslinux directory." + echo "==> If (/ and /boot on seperate fs):" + echo "==> # cp /usr/lib/syslinux/*.c32 /boot/syslinux" + echo "==> If (/ and /boot on same fs):" + echo "==> # ln -s /usr/lib/syslinux/*.c32 /boot/syslinux" + fi } # vim:set ts=2 sw=2 et: |