mirror of
https://github.com/coder/code-server.git
synced 2024-11-26 03:01:34 +03:00
install.sh: Print creation of CACHE_DIR
This commit is contained in:
parent
88c76d4794
commit
7958cc7e29
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user