Browse Source

feat: create server directory

- Updated the script to create a server directory
- Removed unnecessary check for existing server directory
feature/dst-changes
Daniel Gibbs 2 years ago
parent
commit
de5d12e546
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 6
      lgsm/modules/install_server_dir.sh

6
lgsm/modules/install_server_dir.sh

@ -11,13 +11,11 @@ echo -e ""
echo -e "${lightyellow}Server Directory${default}"
echo -e "================================="
fn_sleep_time
echo -en "checking ${serverfiles} exists..."
echo -en "creating ( ${serverfiles} )"
if [ -d "${serverfiles}" ]; then
fn_print_warn_eol_nl
fn_print_skip_eol_nl
echo -e "\n* A game server is already exists at this location.\n"
else
fn_print_ok_eol_nl
fi

Loading…
Cancel
Save