mirror of
https://github.com/joomla-docker/docker-joomla.git
synced 2025-01-10 08:34:04 +00:00
Adapt installation check to Joomla v3.8.x
This commit is contained in:
parent
ba24a37853
commit
43e546ea66
@ -35,7 +35,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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..."
|
echo >&2 "Joomla not found in $(pwd) - copying now..."
|
||||||
|
|
||||||
if [ "$(ls -A)" ]; then
|
if [ "$(ls -A)" ]; then
|
||||||
|
@ -35,7 +35,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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..."
|
echo >&2 "Joomla not found in $(pwd) - copying now..."
|
||||||
|
|
||||||
if [ "$(ls -A)" ]; then
|
if [ "$(ls -A)" ]; then
|
||||||
|
@ -35,7 +35,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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..."
|
echo >&2 "Joomla not found in $(pwd) - copying now..."
|
||||||
|
|
||||||
if [ "$(ls -A)" ]; then
|
if [ "$(ls -A)" ]; then
|
||||||
|
@ -35,7 +35,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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..."
|
echo >&2 "Joomla not found in $(pwd) - copying now..."
|
||||||
|
|
||||||
if [ "$(ls -A)" ]; then
|
if [ "$(ls -A)" ]; then
|
||||||
|
@ -35,7 +35,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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..."
|
echo >&2 "Joomla not found in $(pwd) - copying now..."
|
||||||
|
|
||||||
if [ "$(ls -A)" ]; then
|
if [ "$(ls -A)" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user