From 9a109b2b39d01594ec4e3172b228265ef9ba558e Mon Sep 17 00:00:00 2001 From: Gokul <43350089+gokulp01@users.noreply.github.com> Date: Tue, 27 Jan 2026 05:42:54 -0600 Subject: [PATCH] fix(clean): handle singular 4K movie summary (#376) --- bin/clean.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/clean.sh b/bin/clean.sh index 8f700c1..0c789b0 100755 --- a/bin/clean.sh +++ b/bin/clean.sh @@ -1046,7 +1046,11 @@ perform_cleanup() { local movies movies=$(echo "$freed_gb" | awk '{printf "%.0f", $1/4.5}') if [[ $movies -gt 0 ]]; then - summary_details+=("Equivalent to ~$movies 4K movies of storage.") + if [[ $movies -eq 1 ]]; then + summary_details+=("Equivalent to ~$movies 4K movie of storage.") + else + summary_details+=("Equivalent to ~$movies 4K movies of storage.") + fi fi fi