#3587 -- Ask about pruning post-install.

This commit is contained in:
Buster "Silver Eagle" Neece 2020-12-21 14:20:10 -06:00
parent a253341b5f
commit 7c4e7b85b8
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 3 additions and 1 deletions

View File

@ -396,7 +396,9 @@ update() {
docker-compose run --rm --user="azuracast" web azuracast_update "$@"
docker-compose up -d
docker system prune -f
if ask "Clean up all stopped Docker containers and images to save space?" Y; then
docker system prune -f
fi
echo "Update complete!"
fi