run occ upgrade

This commit is contained in:
Tilo Spannagel 2017-04-17 22:57:48 +02:00
parent 055f5778e3
commit 87c651374e
No known key found for this signature in database
GPG Key ID: B89F1626A58E1429
7 changed files with 28 additions and 0 deletions

View File

@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done done
chown -R www-data /var/www/html chown -R www-data /var/www/html
if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi fi
exec "$@" exec "$@"

View File

@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done done
chown -R www-data /var/www/html chown -R www-data /var/www/html
if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi fi
exec "$@" exec "$@"

View File

@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done done
chown -R www-data /var/www/html chown -R www-data /var/www/html
if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi fi
exec "$@" exec "$@"

View File

@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done done
chown -R www-data /var/www/html chown -R www-data /var/www/html
if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi fi
exec "$@" exec "$@"

View File

@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done done
chown -R www-data /var/www/html chown -R www-data /var/www/html
if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi fi
exec "$@" exec "$@"

View File

@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done done
chown -R www-data /var/www/html chown -R www-data /var/www/html
if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi fi
exec "$@" exec "$@"

View File

@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done done
chown -R www-data /var/www/html chown -R www-data /var/www/html
if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi fi
exec "$@" exec "$@"