From 6252bf180f14ca40ff08762edd026eda41805090 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 8 Nov 2022 14:09:47 +0100 Subject: Correcting cosmetic typo in dehydrated extra-cert hook output. Signed-off-by: Daniel Baumann --- dehydrated/share/hooks/deploy_cert.extra | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dehydrated/share') diff --git a/dehydrated/share/hooks/deploy_cert.extra b/dehydrated/share/hooks/deploy_cert.extra index b33f562..47a8391 100755 --- a/dehydrated/share/hooks/deploy_cert.extra +++ b/dehydrated/share/hooks/deploy_cert.extra @@ -40,11 +40,11 @@ echo " done." for EXTRA in fullchain-privkey privkey-fullchain do - echo -n " + creating ${EXTRA1}-${EXTRA2}:" - EXTRA1="$(echo ${EXTRA} | awk -F- '{ print $1 }')" EXTRA2="$(echo ${EXTRA} | awk -F- '{ print $2 }')" + echo -n " + creating ${EXTRA1}-${EXTRA2}:" + cat "${DIRECTORY}/${EXTRA1}-${TIMESTAMP}.pem" "${DIRECTORY}/${EXTRA2}-${TIMESTAMP}.pem" > "${DIRECTORY}/${EXTRA1}-${EXTRA2}-${TIMESTAMP}.pem" ln -sf "${EXTRA1}-${EXTRA2}-${TIMESTAMP}.pem" "${DIRECTORY}/cert.${EXTRA1}-${EXTRA2}.pem" -- cgit v1.2.3