Skip to content

Commit

Permalink
Compatible for upgrade (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarumaDocker authored Sep 20, 2024
1 parent 0e688a4 commit 4d5c983
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ if [ -d "$gaianet_base_dir" ]; then
if [ -f "$gaianet_base_dir/gaia-frp/frpc.toml" ]; then
printf " * Copy frpc.toml to $gaianet_base_dir/backup/\n"
cp $gaianet_base_dir/gaia-frp/frpc.toml $gaianet_base_dir/backup/
elif [ -f "$gaianet_base_dir/gaianet-domain/frpc.toml" ]; then
printf " * Copy frpc.toml to $gaianet_base_dir/backup/\n"
cp $gaianet_base_dir/gaianet-domain/frpc.toml $gaianet_base_dir/backup/
else
error "Failed to copy the frpc.toml. Reason: the frpc.toml does not exist in $gaianet_base_dir/gaia-frp."
exit 1
Expand Down

0 comments on commit 4d5c983

Please sign in to comment.