Skip to content

Commit

Permalink
make it more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
tilosp committed Apr 17, 2017
1 parent 3918903 commit fc810d3
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions 10.0/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if version_greater "$installed_version" "$image_version"; then
fi

if version_greater "$image_version" "$installed_version"; then
if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_before
fi

Expand All @@ -32,7 +32,7 @@ if version_greater "$image_version" "$installed_version"; then

chown -R www-data /var/www/html

if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'

su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_after
Expand Down
4 changes: 2 additions & 2 deletions 10.0/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if version_greater "$installed_version" "$image_version"; then
fi

if version_greater "$image_version" "$installed_version"; then
if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_before
fi

Expand All @@ -32,7 +32,7 @@ if version_greater "$image_version" "$installed_version"; then

chown -R www-data /var/www/html

if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'

su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_after
Expand Down
4 changes: 2 additions & 2 deletions 11.0/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if version_greater "$installed_version" "$image_version"; then
fi

if version_greater "$image_version" "$installed_version"; then
if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_before
fi

Expand All @@ -32,7 +32,7 @@ if version_greater "$image_version" "$installed_version"; then

chown -R www-data /var/www/html

if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'

su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_after
Expand Down
4 changes: 2 additions & 2 deletions 11.0/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if version_greater "$installed_version" "$image_version"; then
fi

if version_greater "$image_version" "$installed_version"; then
if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_before
fi

Expand All @@ -32,7 +32,7 @@ if version_greater "$image_version" "$installed_version"; then

chown -R www-data /var/www/html

if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'

su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_after
Expand Down
4 changes: 2 additions & 2 deletions 9.0/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if version_greater "$installed_version" "$image_version"; then
fi

if version_greater "$image_version" "$installed_version"; then
if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_before
fi

Expand All @@ -32,7 +32,7 @@ if version_greater "$image_version" "$installed_version"; then

chown -R www-data /var/www/html

if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'

su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_after
Expand Down
4 changes: 2 additions & 2 deletions 9.0/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if version_greater "$installed_version" "$image_version"; then
fi

if version_greater "$image_version" "$installed_version"; then
if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_before
fi

Expand All @@ -32,7 +32,7 @@ if version_greater "$image_version" "$installed_version"; then

chown -R www-data /var/www/html

if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'

su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_after
Expand Down
4 changes: 2 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if version_greater "$installed_version" "$image_version"; then
fi

if version_greater "$image_version" "$installed_version"; then
if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_before
fi

Expand All @@ -32,7 +32,7 @@ if version_greater "$image_version" "$installed_version"; then

chown -R www-data /var/www/html

if version_greater "$installed_version" "0.0.0"; then
if [ "$installed_version" != "0.0.0" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'

su - www-data -s /bin/bash -c 'php /var/www/html/occ app:list' > /tmp/list_after
Expand Down

0 comments on commit fc810d3

Please sign in to comment.