From e8b69d1291cadb538126c8f86b65e024daaac9e6 Mon Sep 17 00:00:00 2001 From: Daniel Sosnowski Date: Thu, 4 Dec 2025 15:18:54 +0100 Subject: [PATCH] newer version --- clearCache.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clearCache.sh b/clearCache.sh index 3fb72f6..0b74399 100644 --- a/clearCache.sh +++ b/clearCache.sh @@ -22,7 +22,7 @@ then for path in "$subscription/httpdocs/shopsystem/application/cache/boxes"* "$subscription/httpdocs/shopsystem/appcation/cache/smarty_compiled" do - if [[ -d "$path" ]] + if [[ -d $path ]] then cd "$path" echo -e "CzyszczÄ™ cache w subskrybcji $subscription...\n" @@ -47,4 +47,4 @@ fi if [[ -f "/tmp/subscriptions.txt" ]] && [[ -f "/tmp/dirList.txt" ]] then rm -r "/tmp/subscriptions.txt" "/tmp/dirList.txt" -fi +fi \ No newline at end of file