From 7958cc7e29ec47c6e3ee09f15fd8cddda4ca1442 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Thu, 4 Jun 2020 18:19:47 -0400 Subject: [PATCH] install.sh: Print creation of CACHE_DIR --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 6ab5574eb..64bac209b 100755 --- a/install.sh +++ b/install.sh @@ -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" \