Skip to content

Commit

Permalink
chore: update installer
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <[email protected]>
  • Loading branch information
apepkuss committed Aug 5, 2024
1 parent da71f63 commit 87eacca
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -327,21 +327,21 @@ if [ "$upgrade" -eq 1 ]; then
else
printf "[+] Downloading default config.json ...\n"

# if [ ! -f "$gaianet_base_dir/config.json" ]; then
# check_curl https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version/config.json $gaianet_base_dir/config.json
if [ ! -f "$gaianet_base_dir/config.json" ]; then
check_curl https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version/config.json $gaianet_base_dir/config.json

# info " * The default config file is downloaded in $gaianet_base_dir"
# else
# warning " * Use the cached config file in $gaianet_base_dir"
# fi
info " * The default config file is downloaded in $gaianet_base_dir"
else
warning " * Use the cached config file in $gaianet_base_dir"
fi

# # 3. download nodeid.json
# if [ ! -f "$gaianet_base_dir/nodeid.json" ]; then
# printf "[+] Downloading nodeid.json ...\n"
# check_curl https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version/nodeid.json $gaianet_base_dir/nodeid.json
# 3. download nodeid.json
if [ ! -f "$gaianet_base_dir/nodeid.json" ]; then
printf "[+] Downloading nodeid.json ...\n"
check_curl https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version/nodeid.json $gaianet_base_dir/nodeid.json

# info " * The nodeid.json is downloaded in $gaianet_base_dir"
# fi
info " * The nodeid.json is downloaded in $gaianet_base_dir"
fi
fi

# 4. Install vector and download vector config file
Expand Down

0 comments on commit 87eacca

Please sign in to comment.