summaryrefslogtreecommitdiff
path: root/libre/syslinux/syslinux.install
blob: 19caa1026f2d033ce177d14bd2d37f0e2ab6b74a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
post_install() {
  echo "==> If you want to use syslinux as your bootloader"
  echo "==> edit /boot/syslinux/syslinux.cfg and run"
  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/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: