From 3a85e4092af93f4c2e5541e11b8aab247908c16c Mon Sep 17 00:00:00 2001 From: theswgsource Date: Fri, 27 Apr 2018 19:09:28 -0700 Subject: [PATCH] added clientdata symlink creation to build script --- build_linux.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build_linux.sh b/build_linux.sh index 384685c..8e92d7c 100755 --- a/build_linux.sh +++ b/build_linux.sh @@ -507,5 +507,18 @@ if [[ $response =~ ^(yes|y| ) ]]; then cd $basedir fi fi +read -p "****************************************************************** +This section will link your clientdata folder to sys.client in the server +*************************************************************************** +****************************************************************** +Do you want to create the symlink for the clientdata folder? (y/n) " response +response=${response,,} +if [[ $response =~ ^(yes|y| ) ]]; then +cd /root/swg-main/data/sku.0/sys.client +mkdir compiled +cd compiled +mkdir game +ln -s root/swg-main/clientdata /root/swg-main/data/sku.0/sys.client/compiled/game/ +fi echo -e "\033[1;33m"; echo "Congratulations build_linux script is complete!"