From 91dec7a419e8a8f7c45b7ee65d2577606316faf2 Mon Sep 17 00:00:00 2001 From: wea_ondara Date: Sat, 25 Nov 2023 18:46:18 +0100 Subject: [PATCH] build.sh: fix deleting in cache dir (don't delete mangadex and mangaupdates dirs) --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3744a73..e2e9aaa 100755 --- a/build.sh +++ b/build.sh @@ -6,7 +6,7 @@ mkdir dist/cache # clean (cd dist && (ls | grep -v "cache" | grep -v "config.json" | xargs rm -r)) -(cd dist/cache && (ls | grep -v ".json" | xargs rm -r)) +(cd dist/cache && (ls | grep -v ".json" | grep -v "mangadex" | grep -v "mangaupdates" | xargs rm -r)) # build (cd backend && npm i && npm run build) || exit 1