0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-15 19:05:09 +01:00

run upgrades when using supervisord

This commit is contained in:
Ben Iofel 2018-10-12 15:47:28 -04:00 committed by Ben Iofel
parent 3770bbcb26
commit 8484691f6c
No known key found for this signature in database
GPG key ID: 280AB9B80CB004D1
10 changed files with 10 additions and 10 deletions

View file

@ -19,7 +19,7 @@ run_as() {
fi fi
} }
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if expr "$1" : '.*\(apache\|php-fpm\|supervisord\)' 1>/dev/null; then
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,7 +19,7 @@ run_as() {
fi fi
} }
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if expr "$1" : '.*\(apache\|php-fpm\|supervisord\)' 1>/dev/null; then
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,7 +19,7 @@ run_as() {
fi fi
} }
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if expr "$1" : '.*\(apache\|php-fpm\|supervisord\)' 1>/dev/null; then
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,7 +19,7 @@ run_as() {
fi fi
} }
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if expr "$1" : '.*\(apache\|php-fpm\|supervisord\)' 1>/dev/null; then
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,7 +19,7 @@ run_as() {
fi fi
} }
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if expr "$1" : '.*\(apache\|php-fpm\|supervisord\)' 1>/dev/null; then
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,7 +19,7 @@ run_as() {
fi fi
} }
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if expr "$1" : '.*\(apache\|php-fpm\|supervisord\)' 1>/dev/null; then
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,7 +19,7 @@ run_as() {
fi fi
} }
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if expr "$1" : '.*\(apache\|php-fpm\|supervisord\)' 1>/dev/null; then
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,7 +19,7 @@ run_as() {
fi fi
} }
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if expr "$1" : '.*\(apache\|php-fpm\|supervisord\)' 1>/dev/null; then
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,7 +19,7 @@ run_as() {
fi fi
} }
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if expr "$1" : '.*\(apache\|php-fpm\|supervisord\)' 1>/dev/null; then
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,7 +19,7 @@ run_as() {
fi fi
} }
if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if expr "$1" : '.*\(apache\|php-fpm\|supervisord\)' 1>/dev/null; then
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016