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.
This commit is contained in:
clif
2025-03-16 16:36:07 -04:00
parent cab568d838
commit 3839d86a99
+2
View File
@@ -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)