From 3839d86a99d004fb20cdf746be6e82c64b426c9a Mon Sep 17 00:00:00 2001 From: clif Date: Sun, 16 Mar 2025 16:36:07 -0400 Subject: [PATCH] Bug fix for Pup installer The Pup installer fails to check for presence of dest dir, which creates a file containing the Pup zip file instead of a directory for the zip file. This error breaks downstream install scripts using this same dest dir approach. --- scripts/install-pup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install-pup.sh b/scripts/install-pup.sh index 32a1352..653fbb9 100755 --- a/scripts/install-pup.sh +++ b/scripts/install-pup.sh @@ -18,6 +18,8 @@ curl -s -f -L -o ${ZIP_FILE} ${URL} [[ $? -ne 0 ]] && et-log "Error fetching pup" && exit 1 +[ ! -e $ET_DIST_DIR ] && mkdir -v $ET_DIST_DIR + mv -v ${ZIP_FILE} ${ET_DIST_DIR} CWD_DIR=$(pwd)