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
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55
1 changed files with
2 additions and
4 deletions
-
lgsm/modules/install_server_dir.sh
|
@ -11,13 +11,11 @@ echo -e "" |
|
|
echo -e "${lightyellow}Server Directory${default}" |
|
|
echo -e "${lightyellow}Server Directory${default}" |
|
|
echo -e "=================================" |
|
|
echo -e "=================================" |
|
|
fn_sleep_time |
|
|
fn_sleep_time |
|
|
echo -en "checking ${serverfiles} exists..." |
|
|
echo -en "creating ( ${serverfiles} )" |
|
|
|
|
|
|
|
|
if [ -d "${serverfiles}" ]; then |
|
|
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" |
|
|
echo -e "\n* A game server is already exists at this location.\n" |
|
|
|
|
|
|
|
|
else |
|
|
else |
|
|
fn_print_ok_eol_nl |
|
|
fn_print_ok_eol_nl |
|
|
fi |
|
|
fi |
|
|