From 389097bcc29a8605be927675715b3f7325793c45 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 20 Jul 2024 20:31:36 +0300 Subject: [PATCH] build: Silence clean-up phase --- bin/copy-trilium.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index b58f8cef6..afe74e7dd 100755 --- a/bin/copy-trilium.sh +++ b/bin/copy-trilium.sh @@ -43,14 +43,14 @@ cp "$script_dir/../build/electron.js" "$DIR" (cd $DIR && npm install --omit=dev) if [[ -d "$DIR"/node_modules ]]; then -# cleanup of useless files in dependencies + # cleanup of useless files in dependencies for d in 'image-q/demo' 'better-sqlite3/Release' 'better-sqlite3/deps/sqlite3.tar.gz' '@jimp/plugin-print/fonts' 'jimp/browser' 'jimp/fonts'; do - [[ -e "$DIR"/node_modules/"$d" ]] && rm -rv "$DIR"/node_modules/"$d" + [[ -e "$DIR"/node_modules/"$d" ]] && rm -r "$DIR"/node_modules/"$d" done -# delete all tests (there are often large images as test file for jimp etc.) + # delete all tests (there are often large images as test file for jimp etc.) for d in 'test' 'docs' 'demo'; do - find "$DIR"/node_modules -name "$d" -exec rm -rf {} \; + find "$DIR"/node_modules -name "$d" -exec rm -rf {} + done fi