fix: Linkwarden - clear Yarn berry cache after install and update- #18115 (#18116)

* Remove Yarn berry cache from cleanup script

Remove Yarn berry cache during cleanup process.

* Remove Yarn Berry cache during installation
This commit is contained in:
Brad Schroth
2026-10-24 12:03:02 -04:00
committed by GitHub
parent 2250fc8e18
commit 50227fe187
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -64,6 +64,7 @@ function update_script() {
$STD yarn prisma:deploy
rm -rf ~/.cargo/registry ~/.cargo/git ~/.cargo/.package-cache
rm -rf /root/.cache/yarn
rm -rf /root/.yarn/berry/cache
rm -rf /opt/linkwarden/.next/cache
msg_ok "Updated Linkwarden"
+1
View File
@@ -61,6 +61,7 @@ $STD yarn web:build
$STD yarn prisma:deploy
rm -rf ~/.cargo/registry ~/.cargo/git ~/.cargo/.package-cache
rm -rf /root/.cache/yarn
rm -rf /root/.yarn/berry/cache
rm -rf /opt/linkwarden/.next/cache
msg_ok "Installed Linkwarden"