Skip to content

Commit 2c60810

Browse files
author
Jake Tarren
committed
Remove depreciated file operator in favor of .
Signed-off-by: Jake Tarren <jake@zensystem.io>
1 parent b4038d4 commit 2c60810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
4040
group="$(id -g)"
4141
fi
4242

43-
if ! [ -e index.php -a -e wp-includes/version.php ]; then
43+
if [ ! -e index.php ] && [ ! -e wp-includes/version.php ]; then
4444
echo >&2 "WordPress not found in $PWD - copying now..."
4545
if [ "$(ls -A)" ]; then
4646
echo >&2 "WARNING: $PWD is not empty - press Ctrl+C now if this is an error!"

0 commit comments

Comments
 (0)