File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,16 @@ if [ ! -f /var/www/doc-base/configure.php ]; then
2222 exit 1
2323fi
2424
25- # Check language documentation presence (must contain entities/)
26- if [ ! -d /var/www/$LANGUAGE /entities ]; then
25+ # Check language documentation presence
26+ if [ ! -d " /var/www/$LANGUAGE " ] || [ ! -f " /var/www/ $LANGUAGE /sources.xml " ]; then
2727 echo " ❌ doc-${LANGUAGE} is missing or incomplete!"
2828 echo " 👉 Please clone it before running Docker:"
2929 echo " git clone https://github.com/php/doc-${LANGUAGE} ../doc-${LANGUAGE} "
3030 echo " "
31- echo " 💡 Tip: remove any empty folders and recreate containers with:"
32- echo " docker compose down --volumes && docker compose up --force-recreate"
31+ echo " 💡 Tip: remove any empty folders and rebuild containers with '--force-recreate'."
3332 exit 1
3433fi
34+
3535done
3636echo " ✅ All prerequisites found."
3737echo " "
You can’t perform that action at this time.
0 commit comments