blob: 4e37a1955be8738585e6c1544ab4b6da110cc572 [file] [log] [blame] [raw]
#! /bin/sh
set -e
# Provide a backward-compatibility symlink to the doc directory.
package=grub
case "$1" in
install | upgrade)
if [ -d /usr/doc ]; then
if [ ! -e /usr/doc/$package -a -d /usr/share/doc/$package ]; then
ln -s /usr/share/doc/$package /usr/doc/$package
fi
fi
;;
esac
# Install our info pages.
install-info --quiet --section Kernel Kernel \
/usr/share/info/grub.info.gz
install-info --quiet --section Kernel Kernel \
/usr/share/info/multiboot.info.gz