Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Option to flush .dist files when syncing repo #157

@wegotoeleven

Description

@wegotoeleven

Hey. Just a thought; part of the "fix" for the new compressed updates from Apple is the need to delete bad .dist files from the downloaded cache. It might be good to add an option into the SUS settings to find and remove these, prior to a manual sync? Something like adding a checkbox under "Store updates on this server" that says "Flush Software Update distribution files during a Manual sync"; this then runs something like the below when a manual sync takes places, before repo_sync kicks in?

for DIST_FILE in $(find /srv/SUS/html/content/downloads/ -name "*".dist); do rm $DIST_FILE; done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions