Skip to content

Commit

Permalink
fix: Correct syntax issue in upgrade script (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley authored Jun 6, 2023
1 parent 875ed1f commit 49f1529
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ if [[ "$latest_version" == "$prev_version" ]]; then
exit 1
fi

print_yellow "Backing up current near-lake binary to ~/near-lake-$(prev_version)..."
mv ~/near-lake ~/near-lake-$(prev_version)
print_yellow "Backing up current near-lake binary to ~/near-lake-$prev_version..."
mv ~/near-lake ~/near-lake-$prev_version

print_yellow "Moving near-lake v$(latest_version) binary to ~/near-lake..."
print_yellow "Moving near-lake v$latest_version binary to ~/near-lake..."
mv ~/near-lake-latest ~/near-lake

print_yellow "Restarting near-lake systemd..."
Expand Down

0 comments on commit 49f1529

Please sign in to comment.