mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Skip prebaked install when node_modules exists
This commit is contained in:
parent
e5e71f6988
commit
1e6f71b5ba
1 changed files with 3 additions and 1 deletions
|
|
@ -78,7 +78,9 @@ if [[ "$USE_PREBAKED_SETUP" -eq 0 ]]; then
|
|||
log "✓ Dependencies installed"
|
||||
else
|
||||
log "Linking dependencies from prebaked pnpm store..."
|
||||
if pnpm install --package-import-method=copy --frozen-lockfile --offline; then
|
||||
if [ -d node_modules ]; then
|
||||
log "node_modules already present, skipping pnpm install for prebaked setup"
|
||||
elif pnpm install --package-import-method=copy --frozen-lockfile --offline; then
|
||||
log "✓ Dependencies installed (offline)"
|
||||
else
|
||||
log_error "Offline install failed, falling back to full pnpm install"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue