projectlibre: update to 1.9.1

This commit is contained in:
Andrew Benson 2019-06-03 19:54:57 -05:00 committed by Johannes
parent 15d1f23369
commit 8b60714249
3 changed files with 18 additions and 18 deletions

View file

@ -1,17 +1,17 @@
--- projectlibre.sh --- projectlibre.sh.orig
+++ projectlibre.sh +++ projectlibre.sh
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/bin/bash -#!/bin/bash
+#!/bin/sh +#!/bin/sh
#
#The contents of this file are subject to the Common Public Attribution License #*******************************************************************************
#Version 1.0 (the "License"); you may not use this file except in compliance with # The contents of this file are subject to the Common Public Attribution License
@@ -179,7 +179,7 @@ @@ -199,7 +199,7 @@
OPENPROJ_HOME="$OPENPROJ_HOME0" PROJECTLIBRE_HOME="$PROJECTLIBRE_HOME0"
#OPENPROJ_HOME can be harmful with multiple versions. disable #PROJECTLIBRE_HOME can be harmful with multiple versions. disable
JAVA_OK="1" JAVA_OK="1"
- run_openproj --silentlyFail true "$@" || if [[ $? -eq 126 || $? -eq 127 || $? -eq 64 ]]; then - run_projectlibre --silentlyFail true "$@" || if [[ $? -eq 126 || $? -eq 127 || $? -eq 64 ]]; then
+ run_openproj --silentlyFail true "$@" || if [ $? -eq 126 -o $? -eq 127 -o $? -eq 64 ]; then + run_projectlibre --silentlyFail true "$@" || if [ $? -eq 126 -o $? -eq 127 -o $? -eq 64 ]; then
#126 command invoked cannot execute #126 command invoked cannot execute
#127 command not found #127 command not found
#64 bad java version/impl #64 bad java version/impl

View file

@ -1,12 +1,12 @@
--- projectlibre.sh --- projectlibre.sh.orig
+++ projectlibre.sh +++ projectlibre.sh
@@ -63,8 +63,7 @@ @@ -70,8 +70,7 @@
#Default conf values #Default conf values
JAVA_EXE="java" JAVA_EXE="java"
JAVA_OPTS="-Xms128m -Xmx768m" JAVA_OPTS="-Xms128m -Xmx768m"
-#OPENPROJ_HOME0="/usr/share/projectlibre" -#PROJECTLIBRE_HOME0="/usr/share/projectlibre"
-OPENPROJ_HOME0=`(dirname $0)` -PROJECTLIBRE_HOME0=`(dirname $0)`
+OPENPROJ_HOME0="/usr/share/projectlibre" +PROJECTLIBRE_HOME0="/usr/share/projectlibre"
OPENPROJ_HOME="$OPENPROJ_HOME0" PROJECTLIBRE_HOME="$PROJECTLIBRE_HOME0"
LOG_LEVEL="DEBUG" LOG_LEVEL="DEBUG"
LOG_FILE="/dev/null" LOG_FILE="/dev/null"

View file

@ -1,6 +1,6 @@
# Template file for 'projectlibre' # Template file for 'projectlibre'
pkgname=projectlibre pkgname=projectlibre
version=1.8.0 version=1.9.1
revision=1 revision=1
depends="virtual?java-runtime virtual?awk" depends="virtual?java-runtime virtual?awk"
short_desc="Open source project management (replacement for MS project)" short_desc="Open source project management (replacement for MS project)"
@ -8,7 +8,7 @@ maintainer="Piraty <piraty1@inbox.ru>"
license="CPAL-1.0" license="CPAL-1.0"
homepage="http://www.projectlibre.com/" homepage="http://www.projectlibre.com/"
distfiles="${SOURCEFORGE_SITE}/projectlibre/1.8/projectlibre-${version}.tar.gz" distfiles="${SOURCEFORGE_SITE}/projectlibre/1.8/projectlibre-${version}.tar.gz"
checksum=5341154a14718b8d070d7ea0d35a1686a3c37c78ced2a1ef9a0bed3adfab0bae checksum=65ca96728eb5a31c3e23eb43181dde367d785a86b82f330ca52bc7b51c74a5bb
do_install() { do_install() {
_dest="usr/share/projectlibre" _dest="usr/share/projectlibre"