From 4e7b911fe9918d57f17ef883097e208aebc64e20 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 25 Jan 2025 11:20:37 +0000 Subject: [PATCH] Improve commentt in script --- scripts/compress.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/compress.sh b/scripts/compress.sh index eb9e34a2..a6a0b028 100755 --- a/scripts/compress.sh +++ b/scripts/compress.sh @@ -34,7 +34,7 @@ for file; do file_size=$(stat -c%s "$file") src_size=$(stat -c%s "$src") fi - # Compare sizes and conditionally echo rm command + # Compare sizes and rm compressed file if larger than the source [ "$file_size" -ge "$src_size" ] && rm "$file" fi done