[arch-commits] Commit in languagetool/trunk (PKGBUILD languagetool.sh)
Andrzej Giniewicz
aginiewicz at nymeria.archlinux.org
Tue Jul 1 08:03:54 UTC 2014
Date: Tuesday, July 1, 2014 @ 10:03:54
Author: aginiewicz
Revision: 113888
upgpkg: languagetool 2.6-1
Update to languagetool 2.6
Modified:
languagetool/trunk/PKGBUILD
languagetool/trunk/languagetool.sh
-----------------+
PKGBUILD | 6 +++---
languagetool.sh | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-01 08:03:15 UTC (rev 113887)
+++ PKGBUILD 2014-07-01 08:03:54 UTC (rev 113888)
@@ -4,7 +4,7 @@
# Contributor: Panagiotis Papadopoulos pano_90 (AT) gmx (DOT) net
pkgname=languagetool
-pkgver=2.5
+pkgver=2.6
pkgrel=1
pkgdesc="An open source language checker"
arch=('any')
@@ -17,8 +17,8 @@
'gtk2: needed for the GUI version')
source=($pkgname-$pkgver.zip::"http://www.languagetool.org/download/LanguageTool-stable.zip?$pkgver" "$pkgname.sh")
noextract=($pkgname-$pkgver.zip)
-md5sums=('34b23e7bea0064b6e347aa169537d3d6'
- '81c8355c6b3820e9788199daa647089e')
+md5sums=('fff49dfd61e00fbd7c07d692b2a64065'
+ '136387ef7979e23004330d553736a89b')
package() {
cd "$srcdir"
Modified: languagetool.sh
===================================================================
--- languagetool.sh 2014-07-01 08:03:15 UTC (rev 113887)
+++ languagetool.sh 2014-07-01 08:03:54 UTC (rev 113888)
@@ -3,7 +3,7 @@
file_present=false
asked_for_help=false
start_server=false
-https_server=false
+http_server=false
declare -a argv=("$@")
@@ -14,10 +14,10 @@
fi
if [[ $arg == --config* ]]; then
start_server=true
- https_server=true
fi
if [[ $arg == --http ]]; then
start_server=true
+ http_server=true
unset argv[$i]
fi
if [[ $arg == -h ]]; then
@@ -55,10 +55,10 @@
"$JAVA_HOME/bin/java" -cp $CP $SSRV_command -h | sed "s/HTTPSServer/languagetool/"
else
if $start_server; then
- if $https_server; then
+ if $http_server; then
+ "$JAVA_HOME/bin/java" -cp $CP $NSRV_command "${argv[@]}"
+ else
"$JAVA_HOME/bin/java" -cp $CP $SSRV_command "${argv[@]}"
- else
- "$JAVA_HOME/bin/java" -cp $CP $NSRV_command "${argv[@]}"
fi
else
if $file_present; then
More information about the arch-commits
mailing list