#!/bin/sh
# Debian xlib6g-dev package post-installation script
# Copyright 1998, 1999 Branden Robinson.
# Licensed under the GNU General Public License, version 2.  See the file
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
# Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava.

set -e

trap "echo ;\
      echo 'Received signal.  Aborting configuration of xlib6g-dev package.' ;\
      echo ;\
      exit 1" 1 2 3 15

case "$1" in
  configure) ;;
  abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;;
esac

if [ -d /usr/doc -a ! -e /usr/doc/xlib6g-dev -a -d /usr/share/doc/xlib6g-dev ]; then
  ln -sf ../share/doc/xlib6g-dev /usr/doc/xlib6g-dev
fi

exit
