diff options
author | jestin | 2001-08-06 16:15:33 +0000 |
---|---|---|
committer | jestin | 2001-08-06 16:15:33 +0000 |
commit | 7b35a8385f61a12d1949f12e8b11bb7039f57a04 (patch) | |
tree | 3f11e749b7c10080691f072c1de29a21dfcfb5e6 /debian/postinst.ivy-java | |
parent | 6b967655fe7fce4a4cfd9dd606fd4ef33e944224 (diff) | |
download | ivy-java-7b35a8385f61a12d1949f12e8b11bb7039f57a04.zip ivy-java-7b35a8385f61a12d1949f12e8b11bb7039f57a04.tar.gz ivy-java-7b35a8385f61a12d1949f12e8b11bb7039f57a04.tar.bz2 ivy-java-7b35a8385f61a12d1949f12e8b11bb7039f57a04.tar.xz |
Everything I need to build the debian package
Diffstat (limited to 'debian/postinst.ivy-java')
-rw-r--r-- | debian/postinst.ivy-java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/postinst.ivy-java b/debian/postinst.ivy-java new file mode 100644 index 0000000..5c81c94 --- /dev/null +++ b/debian/postinst.ivy-java @@ -0,0 +1,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 + |