summaryrefslogtreecommitdiffstats
path: root/share/scripts/curl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-03-08 14:02:40 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-03-08 14:44:11 +0000
commit668b354d01f93a0eeb08e1b4a36ef3dde925c3c2 (patch)
treeb1c02abda0ee5bc1f1733b9ca32cb4f6d86038b2 /share/scripts/curl
parentCorrecting call of post hooks in container start program to make them actuall... (diff)
downloadcompute-tools-668b354d01f93a0eeb08e1b4a36ef3dde925c3c2.tar.xz
compute-tools-668b354d01f93a0eeb08e1b4a36ef3dde925c3c2.zip
Using more common sign extension for detached gpg signatures in container curl create script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/scripts/curl')
-rwxr-xr-xshare/scripts/curl10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/scripts/curl b/share/scripts/curl
index ddc624d..b756c48 100755
--- a/share/scripts/curl
+++ b/share/scripts/curl
@@ -298,14 +298,14 @@ mkdir -p "${CACHE}"
SETUP="${SETUP:-$(echo ${SYSTEM} | sed -e 's|.system.tar.|.setup.tar.|')}"
-for FILE in "${SYSTEM}" "${SYSTEM}.gpg" "${SYSTEM}.sha512" \
- "${SETUP}" "${SETUP}.gpg" "${SETUP}.sha512"
+for FILE in "${SYSTEM}" "${SYSTEM}.sign" "${SYSTEM}.sha512" \
+ "${SETUP}" "${SETUP}.sign" "${SETUP}.sha512"
do
if curl --fail --head --output /dev/null --silent "${SERVER}/${FILE}"
then
case "${FILE}" in
*.sha512)
- if [ -e "${CACHE}/$(basename ${FILE} .sha512).gpg" ]
+ if [ -e "${CACHE}/$(basename ${FILE} .sha512).sign" ]
then
continue
fi
@@ -334,12 +334,12 @@ do
continue
fi
- if [ -e "${FILE}.gpg" ]
+ if [ -e "${FILE}.sign" ]
then
echo -n "Verifying ${FILE}:"
set +e
- gpg --homedir "${KEYS}" --verify "${FILE}.gpg" "${FILE}" > /dev/null 2>&1
+ gpg --homedir "${KEYS}" --verify "${FILE}.sign" "${FILE}" > /dev/null 2>&1
GNUPG="${?}"
set -e