Archived
1
0

install.sh: Print creation of CACHE_DIR

This commit is contained in:
Anmol Sethi 2020-06-04 18:19:47 -04:00
parent 88c76d4794
commit 7958cc7e29
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

@ -170,7 +170,6 @@ main() {
fi
CACHE_DIR="$(echo_cache_dir)"
mkdir -p "$CACHE_DIR"
if [ "$METHOD" = standalone ]; then
install_standalone
@ -234,10 +233,11 @@ fetch() {
FILE="$2"
if [ -e "$FILE" ]; then
echoh "+ Reusing $CACHE_DIR/${URL##*/}"
echoh "+ Reusing $FILE"
return
fi
sh_c mkdir -p "$CACHE_DIR"
sh_c curl \
-#fL \
-o "$FILE.incomplete" \