On 10/01/2012 18:53, Mathieu Malaterre wrote:
tags 630198 moreinfo
thanks
Jerome,
I am getting an annoying:
.: 21: Can't open /etc/fop.conf.d/*.conf
When no conf files are present in /etc/fop.conf.d/. Do you have a
quick fix for your patch ?
Thanks much,
Oops shame on me. I fixed it while ago and did not update this bug.
Please find the fixed patch attached.
Jerome
diff --git a/debian/fop.dirs b/debian/fop.dirs
index 60dac6d..aaf5db3 100644
--- a/debian/fop.dirs
+++ b/debian/fop.dirs
@@ -1,2 +1,3 @@
usr/share/java
usr/bin
+etc/fop.conf.d
diff --git a/debian/fop.sh b/debian/fop.sh
index 6130d45..8b1c49e 100644
--- a/debian/fop.sh
+++ b/debian/fop.sh
@@ -16,6 +16,11 @@
HEADLESS=-Djava.awt.headless=true
+for cf in /etc/fop.conf.d/*.conf; do
+if [ -f $cf ]; then
+. $cf;
+fi
+done
# Load system-wide configuration, if any
if [ -f /etc/fop.conf ]; then
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers.
Please use
debian-j...@lists.debian.org for discussions and questions.