diff options
author | Johan Wassberg <jocar@sunet.se> | 2024-12-09 12:51:33 -0500 |
---|---|---|
committer | Johan Wassberg <jocar@sunet.se> | 2024-12-09 12:51:33 -0500 |
commit | f2eeb8766d5116b4b6cacf141f9e63252f5ca705 (patch) | |
tree | 4b3d688c2662fa2bb16ff9c48465281ef793b3ef /metadata/scripts/build-adfstoolkit-federation-defaults.sh | |
parent | 6346f7d6e952cc615cdb80432bbd773c60540fad (diff) |
Added to the wrong repomd-2024-12-09-v05
Diffstat (limited to 'metadata/scripts/build-adfstoolkit-federation-defaults.sh')
-rwxr-xr-x | metadata/scripts/build-adfstoolkit-federation-defaults.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/metadata/scripts/build-adfstoolkit-federation-defaults.sh b/metadata/scripts/build-adfstoolkit-federation-defaults.sh deleted file mode 100755 index 1db6f057..00000000 --- a/metadata/scripts/build-adfstoolkit-federation-defaults.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/bash - -set -e - -TMP=$(mktemp -d) -PUBDIR=/var/www/html/entity-configurations/ADFSToolkit - -# More versions to come - hopefully -# shellcheck disable=SC2043 -for version in "v2.3.0"; do - VERSION_DIR="${PUBDIR}/${version}" - VERSION_FILE="${VERSION_DIR}/SWAMID_FederationDefaults.zip" - if [ ! -f "${VERSION_FILE}" ]; then - if [ ! -d "${TMP}"/repo ]; then - git clone https://github.com/fedtools/federation-settings.git "${TMP}/repo" - fi - cd "${TMP}"/repo - git checkout "${version}" - cd ADFSToolkit/config/federation/ - zip SWAMID_FederationDefaults.zip -r SWAMID - mkdir -p "${VERSION_DIR}" - mv SWAMID_FederationDefaults.zip "${PUBDIR}"/${version}/ - fi - -done - -rm -rf "${TMP}" |