Skip to content

Delete …/data/tmp/* after successful upgrade. #5216

@WGroleau

Description

@WGroleau

The upgrade process unzips all the new files into …/data/tmp/ and then moves them to their working locations, leaving the downloaded zip-file and all the empty directories.

If the upgrade completes without error, I would like …/data/tmp/* to be automatically removed.

Just in case some aren't empty for some reason,
find …/data/tmp/* -type d -exec rmdir "{}" \;
would produce error messages for the ones that aren't empty.

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