Skip to content

updateServer.sh Delete Archive File Before Re-Downloading #3

Description

@DDRRE

If updateServer is run and the target file already exists, the user is prompted to either use the old file or re-download. If re-download is chosen, the old file should be deleted before wget is launched to prevent writing it with an appended number (serverpackage.zip will be downloaded as serverpackage.zip.1, breaking the script).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions