Update of /cvsroot/pkg-java/java-package/lib
In directory haydn:/tmp/cvs-serv5427/lib

Modified Files:
        j2se.sh 
Log Message:
Added conditional wrapping of manpage compression in build and cleaned up IBM 
JRE alternatives some more.

--- /cvsroot/pkg-java/java-package/lib/j2se.sh  2005/08/23 03:00:11     1.10
+++ /cvsroot/pkg-java/java-package/lib/j2se.sh  2005/11/07 05:05:45     1.11
@@ -134,8 +134,11 @@
     dh_installdocs
     # dh_install
     # dh_link
-    echo "    dh_compress"
-    dh_compress $( find "$install_dir/$j2se_base/man" -type f ! -name "*.gz" )
+    # Conditionally wrapping this as not all JRE/JDKs have man directories
+    if [ -e "$install_dir/$j2se_base/man" ]; then
+        echo "    dh_compress"
+        dh_compress $( find "$install_dir/$j2se_base/man" -type f ! -name 
"*.gz" )
+    fi
     echo "    dh_fixperms"
     dh_fixperms
     echo "    dh_installdeb"

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to