grub2/debian/grub-linuxbios.postinst
2011-05-16 16:07:53 +01:00

20 lines
417 B
Bash

#! /bin/sh
set -e
case "$1" in
configure)
if dpkg --compare-versions "$2" lt-nl 1.99-1; then
# Force dpkg to replace this directory with a symlink.
if [ ! -L /usr/share/doc/@PACKAGE@ ] && [ -d /usr/share/doc/@PACKAGE@ ]; then
if rmdir /usr/share/doc/@PACKAGE@ 2>/dev/null; then
ln -sf grub-common /usr/share/doc/@PACKAGE@
fi
fi
fi
;;
esac
#DEBHELPER#
exit 0