install.sh: Print creation of CACHE_DIR
This commit is contained in:
parent
88c76d4794
commit
7958cc7e29
@ -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" \
|
||||||
|
Reference in New Issue
Block a user