summaryrefslogtreecommitdiffstats
path: root/debian/patches/system-officeotron-and-odfvalidator.diff
blob: 971608ef9492f1b33b1b5256fcdce201dd38ec51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/bin/odfvalidator.sh.in b/bin/odfvalidator.sh.in
index 56e2f29..9415ef6 100644
--- a/bin/odfvalidator.sh.in
+++ b/bin/odfvalidator.sh.in
@@ -1,2 +1,2 @@
 #!/usr/bin/env bash
-java -Djavax.xml.validation.SchemaFactory:http://relaxng.org/ns/structure/1.0=org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl -Dorg.iso_relax.verifier.VerifierFactoryLoader=com.sun.msv.verifier.jarv.FactoryLoaderImpl -jar @TARFILE_LOCATION@/@ODFVALIDATOR_JAR@ "$@"
+java -Djavax.xml.validation.SchemaFactory:http://relaxng.org/ns/structure/1.0=org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl -Dorg.iso_relax.verifier.VerifierFactoryLoader=com.sun.msv.verifier.jarv.FactoryLoaderImpl -jar /usr/share/java/odfvalidator.jar "$@"
diff --git a/bin/officeotron.sh.in b/bin/officeotron.sh.in
index 7281f1b..6eab5b5 100644
--- a/bin/officeotron.sh.in
+++ b/bin/officeotron.sh.in
@@ -1,2 +1,2 @@
 #!/usr/bin/env bash
-java -jar @TARFILE_LOCATION@/@OFFICEOTRON_JAR@ "$@"
+java -jar /usr/share/java/officeotron.jar "$@"