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