Quellcode durchsuchen

fix /browsers/* does not exist chown error

Nick Sweeting vor 2 Jahren
Ursprung
Commit
1ce228e9bb
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      bin/docker_entrypoint.sh

+ 2 - 0
bin/docker_entrypoint.sh

@@ -74,8 +74,10 @@ chown $PUID:$PGID "$DATA_DIR"/*
 PLAYWRIGHT_BROWSERS_PATH="${PLAYWRIGHT_BROWSERS_PATH:-/browsers}"
 mkdir -p "$PLAYWRIGHT_BROWSERS_PATH"
 chown $PUID:$PGID "$PLAYWRIGHT_BROWSERS_PATH"
+touch "$PLAYWRIGHT_BROWSERS_PATH"/.permissions_test_safe_to_delete
 chown $PUID:$PGID "$PLAYWRIGHT_BROWSERS_PATH"/*
 
+
 # (this check is written in blood, QEMU silently breaks things in ways that are not obvious)
 export IN_QEMU="$(pmap 1 | grep qemu | wc -l | grep -E '^0$' >/dev/null && echo 'False' || echo 'True')"
 if [[ "$IN_QEMU" == 'True' ]]; then