From 5602c83ccc89e2442391f19beca397695715544b Mon Sep 17 00:00:00 2001 From: DarumaDocker Date: Fri, 20 Sep 2024 17:46:21 +0800 Subject: [PATCH] Compatible for upgrade --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index db3c89a..f9541b0 100644 --- a/install.sh +++ b/install.sh @@ -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