diff --git a/bootstrap.inc.sh b/bootstrap.inc.sh index 6c6bfae..1ff4439 100644 --- a/bootstrap.inc.sh +++ b/bootstrap.inc.sh @@ -51,7 +51,7 @@ function _bootstrap_download() { local remote_file="$1" local local_file="$2" - if [[ -d "$remote_file"]] then + if [[ -d "$remote_file" ]]; then _bootstrap_echo "Downloading directory: $remote_file" for file in $(find "$remote_file" -type f); do @@ -60,7 +60,7 @@ function _bootstrap_download() { mkdir -p "$(dirname "$target_file")" - curl -fsL "https://raw.githubusercontent.com/keymanapp/shared-sites/$BOOTSTRAP_VERSION/$relative_path" -o "$target_file" || ( + curl -fsL "https://raw.githubusercontent.com/Meng-Heng/shared-sites/refs/heads/$BOOTSTRAP_VERSION/$relative_path" -o "$target_file" || ( _bootstrap_echo "FATAL: Failed to download $target_file" exit 3 ) @@ -68,7 +68,7 @@ function _bootstrap_download() { else _bootstrap_echo " Downloading $remote_file" - curl -fsL "https://raw.githubusercontent.com/keymanapp/shared-sites/$BOOTSTRAP_VERSION/$remote_file" -o "$local_file" || ( + curl -fsL "https://raw.githubusercontent.com/Meng-Heng/shared-sites/refs/heads/$BOOTSTRAP_VERSION/$remote_file" -o "$local_file" || ( _bootstrap_echo "FATAL: Failed to download $remote_file" exit 3 )