summaryrefslogtreecommitdiffstats
path: root/testfixlang.sh
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-03-01 20:16:33 +0100
committerRemi Collet <fedora@famillecollet.com>2011-03-01 20:16:33 +0100
commit3fb6d75aa3fe9e0a5c119f86fd7e15d16f0312a4 (patch)
tree38c2541e55fd55a776b812f943bcff6d3b622003 /testfixlang.sh
parentfc33b93d912514b6f62f94c4d482417bd7f3facc (diff)
thunderbird 3.1.8 (whithout lightning which is broken)
Diffstat (limited to 'testfixlang.sh')
-rwxr-xr-xtestfixlang.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/testfixlang.sh b/testfixlang.sh
new file mode 100755
index 0000000..2ed0f47
--- /dev/null
+++ b/testfixlang.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+set -x
+
+if [ ! -d /tmp/comm-1.9.2 ]; then
+ tar xjf thunderbird-3.1.8.source.tar.bz2 -C /tmp && echo Sources extracted
+fi
+
+DIR=/tmp/testfixlang
+rm -rf $DIR
+mkdir -p $DIR/chrome
+
+touch $DIR/gdata.mani
+
+php ./fixlang.php \
+ --xpi=gdata-provider.xpi \
+ --gdata-provider=/tmp/comm-1.9.2/calendar/locales/en-US/chrome/calendar/providers/gdata \
+ --manifest=/tmp/testfixlang/gdata.mani \
+ --output=$DIR \
+ --debug=0
+
+touch $DIR/lightning.mani
+
+php ./fixlang.php \
+ --xpi=lightning.xpi \
+ --lightning=/tmp/comm-1.9.2/calendar/locales/en-US/chrome/lightning \
+ --calendar=/tmp/comm-1.9.2/calendar/locales/en-US/chrome/calendar \
+ --manifest=/tmp/testfixlang/lightning.mani \
+ --output=$DIR \
+ --debug=0
+