Skip to content

[BUG] command_fastdl.sh: 'fastdl_directories_array' listed directory 'resources', when it should be 'resource' #3992

@ethzero

Description

@ethzero

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    Status
    🆕 New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions