Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
refactor(script): why did you fix run directory? I don't get the point
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective committed May 14, 2022
1 parent 8e480ce commit 7047b6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions servers/v1/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,16 @@ dl "https://github.com/KisaragiEffective/Sakura_mod/releases/download/1.0.8-1.12

curse_dl

cp -r data/common/* run
cp -r data/common/* "$DIR"
if [[ "$install_client" == "1" ]]; then
if [[ $(has_child "data/client") == 1 ]]; then
cp -r data/client/* run
cp -r data/client/* "$DIR"
fi
if [[ $(has_child "local/client") == 1 ]]; then
cp -r local/client/* run
cp -r local/client/* "$DIR"
fi
elif [[ "$install_server" == "1" ]]; then
if [[ $(has_child "data/server") == 1 ]]; then
cp -r data/server/* run
cp -r data/server/* "$DIR"
fi
fi

0 comments on commit 7047b6f

Please sign in to comment.