mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-10-06 22:32:41 +07:00
fix: Exclude package-lock.json files that may not exist or be removed during frontend setup
This commit is contained in:
@@ -30,7 +30,8 @@ fi
|
||||
|
||||
# We should do this only for folders that have a different owner, since it is an expensive operation
|
||||
# Also ignoring .git folder to fix this issue https://github.com/mediacms-io/mediacms/issues/934
|
||||
find /home/mediacms.io/mediacms ! \( -path "*.git*" \) -exec chown www-data:$TARGET_GID {} +
|
||||
# Exclude package-lock.json files that may not exist or be removed during frontend setup
|
||||
find /home/mediacms.io/mediacms ! \( -path "*.git*" -o -name "package-lock.json" \) -exec chown www-data:$TARGET_GID {} + 2>/dev/null || true
|
||||
|
||||
chmod +x /home/mediacms.io/mediacms/deploy/docker/start.sh /home/mediacms.io/mediacms/deploy/docker/prestart.sh
|
||||
|
||||
|
||||
Generated
-21536
File diff suppressed because it is too large
Load Diff
-6566
File diff suppressed because it is too large
Load Diff
-15093
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user