Skip to content

Commit 7958cc7

Browse files
committed
install.sh: Print creation of CACHE_DIR
1 parent 88c76d4 commit 7958cc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ main() {
170170
fi
171171

172172
CACHE_DIR="$(echo_cache_dir)"
173-
mkdir -p "$CACHE_DIR"
174173

175174
if [ "$METHOD" = standalone ]; then
176175
install_standalone
@@ -234,10 +233,11 @@ fetch() {
234233
FILE="$2"
235234

236235
if [ -e "$FILE" ]; then
237-
echoh "+ Reusing $CACHE_DIR/${URL##*/}"
236+
echoh "+ Reusing $FILE"
238237
return
239238
fi
240239

240+
sh_c mkdir -p "$CACHE_DIR"
241241
sh_c curl \
242242
-#fL \
243243
-o "$FILE.incomplete" \

0 commit comments

Comments
 (0)