GameServerManagers / GameServerManagers/LinuxGSM
[BUG] command_fastdl.sh: 'fastdl_directories_array' listed directory 'resources', when it should be 'resource'
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 864
- PR merge metrics
- No merged PRs in 30d
Description
## User Story
The LGSM fastdl feature fails to gather and install any content in the standard '/resource' directory as the hard-coded array contains the plural form, 'resources'. An understandable typo and one would assume _all_ directories to be in the plural form ;)
As a system admin, I want to suggest the 'fastdl_directories_array' be amended to use 'resource' so that all expected files are present in the fastdl directory.
## Basic info
* **Distro:** [Ubuntu 22.04]
* **Game:** [Empires Mod]
* **Command:** [fastdl]
* **LinuxGSM version:** [v22.1.0]
## Further Information
As per the User Story, I believe simply updating the fastdl_directories_array in lgsm/functions/command_fastdl.sh to use 'resource' will correctly gather all required files.
## To Reproduce
Steps to reproduce the behaviour:
1. ./emserver fastdl
2. Compare public_html/fastdl to expected files
3. Note missing 'resource' directory
## Expected behaviour
'~/serverfiles/empires/resource' directory's content is correctly compressed and present in the '~public_html/fastdl/resource' directory
Contributor guide
Assessment
This issue has not been assessed yet.