#!/bin/sh set -e package=ivy-java docs="ivy-java" # FHS transition if [ -d /usr/doc ]; then if [ ! -e /usr/doc/$package -a -d /usr/share/doc/$package ]; then ln -s ../share/doc/$package /usr/doc/$package fi fi if [ "$1" = "configure" ]; then if command -v install-docs >/dev/null 2>&1; then for doc in $docs do install-docs -i /usr/share/doc-base/$doc done fi fi