Skip to content

Commit

Permalink
Adapt installation check to Joomla v3.8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Ebert committed Oct 28, 2017
1 parent ba24a37 commit 43e546e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apache-php7/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
exit 1
fi

if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
if ! [ -e index.php -a \( -e libraries/cms/version/version.php -o -e libraries/src/Version.php \) ]; then
echo >&2 "Joomla not found in $(pwd) - copying now..."

if [ "$(ls -A)" ]; then
Expand Down
2 changes: 1 addition & 1 deletion apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
exit 1
fi

if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
if ! [ -e index.php -a \( -e libraries/cms/version/version.php -o -e libraries/src/Version.php \) ]; then
echo >&2 "Joomla not found in $(pwd) - copying now..."

if [ "$(ls -A)" ]; then
Expand Down
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
exit 1
fi

if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
if ! [ -e index.php -a \( -e libraries/cms/version/version.php -o -e libraries/src/Version.php \) ]; then
echo >&2 "Joomla not found in $(pwd) - copying now..."

if [ "$(ls -A)" ]; then
Expand Down
2 changes: 1 addition & 1 deletion fpm-php7/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
exit 1
fi

if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
if ! [ -e index.php -a \( -e libraries/cms/version/version.php -o -e libraries/src/Version.php \) ]; then
echo >&2 "Joomla not found in $(pwd) - copying now..."

if [ "$(ls -A)" ]; then
Expand Down
2 changes: 1 addition & 1 deletion fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
exit 1
fi

if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
if ! [ -e index.php -a \( -e libraries/cms/version/version.php -o -e libraries/src/Version.php \) ]; then
echo >&2 "Joomla not found in $(pwd) - copying now..."

if [ "$(ls -A)" ]; then
Expand Down

0 comments on commit 43e546e

Please sign in to comment.