[java-identity-provider] 03/04: IDP-2073 Consider enabling the installer to download new versions
Rod Widdowson
rdw at steadingsoftware.com
Tue Jun 6 14:12:29 UTC 2023
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=e928d7721992cb1b80ce1fe9b1b505f1879850be
commit e928d7721992cb1b80ce1fe9b1b505f1879850be
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jun 6 14:29:01 2023 +0100
IDP-2073 Consider enabling the installer to download new versions
https://shibboleth.atlassian.net/browse/IDP-2073
introduce a new verb 'update'
---
.../resources/net/shibboleth/idp/module/bin/update.bat | 4 ++++
.../resources/net/shibboleth/idp/module/bin/update.sh | 7 +++++++
.../shibboleth/idp/module/core/impl/module.properties | 18 ++++++++++++++----
3 files changed, 25 insertions(+), 4 deletions(-)
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/bin/update.bat b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/bin/update.bat
new file mode 100644
index 000000000..dd5262af6
--- /dev/null
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/bin/update.bat
@@ -0,0 +1,4 @@
+ at echo off
+setlocal
+
+"%~dp0\runclass.bat" net.shibboleth.idp.installer.impl.UpdateIdPCLI --home "%~dp0\.." %*
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/bin/update.sh b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/bin/update.sh
new file mode 100644
index 000000000..42e769919
--- /dev/null
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/bin/update.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+declare LOCATION
+
+LOCATION=$(dirname $0)
+
+$LOCATION/runclass.sh net.shibboleth.idp.installer.impl.UpdateIdPCLI --ansi --home "$LOCATION/.." "$@"
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/core/impl/module.properties b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/core/impl/module.properties
index eaf8b44fa..c694115af 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/core/impl/module.properties
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/core/impl/module.properties
@@ -100,16 +100,26 @@ idp.CommandLine.18.dest = bin/status.bat
idp.CommandLine.18.replace = true
idp.CommandLine.18.nonwindows = false
-idp.CommandLine.19.src = /net/shibboleth/idp/module/bin/version.sh
-idp.CommandLine.19.dest = bin/version.sh
+idp.CommandLine.19.src = /net/shibboleth/idp/module/bin/update.sh
+idp.CommandLine.19.dest = bin/update.sh
idp.CommandLine.19.exec = true
idp.CommandLine.19.replace = true
idp.CommandLine.19.windows = false
-idp.CommandLine.20.src = /net/shibboleth/idp/module/bin/version.bat
-idp.CommandLine.20.dest = bin/version.bat
+idp.CommandLine.20.src = /net/shibboleth/idp/module/bin/update.bat
+idp.CommandLine.20.dest = bin/update.bat
idp.CommandLine.20.replace = true
idp.CommandLine.20.nonwindows = false
+idp.CommandLine.21.src = /net/shibboleth/idp/module/bin/version.sh
+idp.CommandLine.21.dest = bin/version.sh
+idp.CommandLine.21.exec = true
+idp.CommandLine.21.replace = true
+idp.CommandLine.21.windows = false
+idp.CommandLine.22.src = /net/shibboleth/idp/module/bin/version.bat
+idp.CommandLine.22.dest = bin/version.bat
+idp.CommandLine.22.replace = true
+idp.CommandLine.22.nonwindows = false
+
idp.EditWebApp.name = Overlay Tree for WAR Build
idp.EditWebApp.desc = Tree allowing overlay of files into the WAR build process
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list