Skip to content

Commit

Permalink
Update upgrade.sh
Browse files Browse the repository at this point in the history
Signed-off-by: ZENODE <[email protected]>
  • Loading branch information
zenodeapp authored Jan 31, 2024
1 parent 8dda209 commit 63ae5fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ cd $REPO_ROOT
# System update and installation of dependencies
. ./setup/dependencies.sh

# Rename .genesisd to .genesis if applicable (which we used in the past)
GENESISD_DIR="$HOME/.genesisd"
if [ ! -d "$NODE_DIR" ] && [ -d "$GENESISD_DIR" ]; then
mv "$GENESISD_DIR" "$NODE_DIR"
echo "Renamed .genesisd to .genesis."
fi

# Create a backup of old config files
cp $CONFIG_DIR/app.toml $CONFIG_DIR/app.toml.bak
cp $CONFIG_DIR/config.toml $CONFIG_DIR/config.toml.bak
Expand Down

0 comments on commit 63ae5fa

Please sign in to comment.