projectlibre: fix start script

how did it ever work?
This commit is contained in:
Piraty 2020-02-12 15:19:41 +01:00
parent e689e701c4
commit 606e26e9dd
2 changed files with 3 additions and 20 deletions

View file

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

View file

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