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 Jul 30, 2024
1 parent 72a7385 commit f084ce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,12 @@ if [ "$upgrade" -eq 1 ]; then
# Prepend the field to the beginning of the JSON object
if [ "$(uname)" == "Darwin" ]; then
sed -i '' '2i\
"chat_batch_size": "512",
"chat_batch_size": "16",
' "$gaianet_base_dir/config.json"

elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
sed -i '2i\
"chat_batch_size": "512",
"chat_batch_size": "16",
' "$gaianet_base_dir/config.json"

elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then
Expand Down

0 comments on commit f084ce8

Please sign in to comment.