blob: 5c81c949ea6d057da482c69b6e51a475a9ff806f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/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
|