We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4038d4 commit 2c60810Copy full SHA for 2c60810
docker-entrypoint.sh
@@ -40,7 +40,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
40
group="$(id -g)"
41
fi
42
43
- if ! [ -e index.php -a -e wp-includes/version.php ]; then
+ if [ ! -e index.php ] && [ ! -e wp-includes/version.php ]; then
44
echo >&2 "WordPress not found in $PWD - copying now..."
45
if [ "$(ls -A)" ]; then
46
echo >&2 "WARNING: $PWD is not empty - press Ctrl+C now if this is an error!"
0 commit comments