replace delete command by find

This commit is contained in:
Ulf Gebhardt 2023-03-29 16:01:35 +02:00
parent c96ed73996
commit 8b15eba252
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -119,7 +119,7 @@ esac
envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < $NGINX_CONFIG_DIR/$TEMPLATE_FILE > $NGINX_CONFIG_DIR/update-page.conf
# Clean tmp folder - remove yarn files
rm -R /tmp/yarn--*
find /tmp -name "yarn--*" -exec rm -r {}
# Remove node_modules folders
# we had problems with corrupted node_modules folder