From 378e8fb2f3e21979994666aca82d4b2e55f39963 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sun, 22 Aug 2021 21:03:51 +0200 Subject: [PATCH] IDEMPIERE-4602 Encrypt passwords on properties files (FHCA-1982) (#847) Fix installation issue with getVar.sh wrong initial permission --- org.adempiere.server-feature/console-setup-alt.sh | 2 ++ org.adempiere.server-feature/console-setup.sh | 3 +++ org.adempiere.server-feature/setup-alt.sh | 3 +++ org.adempiere.server-feature/setup.sh | 3 +++ org.adempiere.server-feature/silent-setup-alt.sh | 2 ++ org.adempiere.server-feature/silent-setup.sh | 3 +++ 6 files changed, 16 insertions(+) diff --git a/org.adempiere.server-feature/console-setup-alt.sh b/org.adempiere.server-feature/console-setup-alt.sh index 4ad1a70526..e1f92ace05 100644 --- a/org.adempiere.server-feature/console-setup-alt.sh +++ b/org.adempiere.server-feature/console-setup-alt.sh @@ -12,6 +12,8 @@ else echo Set JAVA_HOME to the directory of your local JDK. fi +# setup application requires getVar.sh to be executable +find . -name '*.sh' -exec chmod u+x '{}' \; # Setup idempiere.properties and idempiereEnv.properties $JAVA -jar plugins/org.eclipse.equinox.launcher_1.*.jar -install setup -configuration setup/configuration -application org.adempiere.install.console-application $@ diff --git a/org.adempiere.server-feature/console-setup.sh b/org.adempiere.server-feature/console-setup.sh index 36f42f3326..161a98471b 100644 --- a/org.adempiere.server-feature/console-setup.sh +++ b/org.adempiere.server-feature/console-setup.sh @@ -2,6 +2,9 @@ # echo Setup idempiere Server +# setup application requires getVar.sh to be executable +find . -name '*.sh' -exec chmod u+x '{}' \; + # Setup idempiere.properties and idempiereEnv.properties ./idempiere --launcher.ini setup.ini -application org.adempiere.install.console-application $@ diff --git a/org.adempiere.server-feature/setup-alt.sh b/org.adempiere.server-feature/setup-alt.sh index fc7e5ed89c..d71d5f572a 100644 --- a/org.adempiere.server-feature/setup-alt.sh +++ b/org.adempiere.server-feature/setup-alt.sh @@ -12,6 +12,9 @@ else echo Set JAVA_HOME to the directory of your local JDK. fi +# setup application requires getVar.sh to be executable +find . -name '*.sh' -exec chmod u+x '{}' \; + #setup idempiere.properties and idempiereEnv.propertiess $JAVA -jar plugins/org.eclipse.equinox.launcher_1.*.jar -install setup -configuration setup/configuration -application org.adempiere.install.application $@ diff --git a/org.adempiere.server-feature/setup.sh b/org.adempiere.server-feature/setup.sh index b825d55318..89fc6e0cbc 100644 --- a/org.adempiere.server-feature/setup.sh +++ b/org.adempiere.server-feature/setup.sh @@ -2,6 +2,9 @@ # echo ... Setup iDempiere Server +# setup application requires getVar.sh to be executable +find . -name '*.sh' -exec chmod u+x '{}' \; + # Setup idempiere.properties and iDempiereEnv.properties ./idempiere --launcher.ini setup.ini -application org.adempiere.install.application $@ diff --git a/org.adempiere.server-feature/silent-setup-alt.sh b/org.adempiere.server-feature/silent-setup-alt.sh index 52f46d8523..7cb7d354df 100644 --- a/org.adempiere.server-feature/silent-setup-alt.sh +++ b/org.adempiere.server-feature/silent-setup-alt.sh @@ -12,6 +12,8 @@ else echo Set JAVA_HOME to the directory of your local JDK. fi +# setup application requires getVar.sh to be executable +find . -name '*.sh' -exec chmod u+x '{}' \; # Setup idempiere.properties and idempiereEnv.properties $JAVA -jar plugins/org.eclipse.equinox.launcher_1.*.jar -install setup -configuration setup/configuration -application org.adempiere.install.silent-application $@ diff --git a/org.adempiere.server-feature/silent-setup.sh b/org.adempiere.server-feature/silent-setup.sh index eb440faeb3..83c7a5c649 100644 --- a/org.adempiere.server-feature/silent-setup.sh +++ b/org.adempiere.server-feature/silent-setup.sh @@ -2,6 +2,9 @@ # echo Setup idempiere Server +# setup application requires getVar.sh to be executable +find . -name '*.sh' -exec chmod u+x '{}' \; + # Setup idempiere.properties and idempiereEnv.properties ./idempiere --launcher.ini setup.ini -application org.adempiere.install.silent-application $@