mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
21 lines
510 B
Bash
21 lines
510 B
Bash
#! /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
|