diff --git a/develop/apache/entrypoint.sh b/develop/apache/entrypoint.sh index fc1504d..2d8582d 100644 --- a/develop/apache/entrypoint.sh +++ b/develop/apache/entrypoint.sh @@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then # TODO Workaround because of a strange permission issue rm -fr $WORKDIR/view/smarty3/compiled elif [ "$1" = "update" ]; then + echo "Updating Friendica" console "dbstructure update" + + exit 0 fi fi fi diff --git a/develop/fpm-alpine/entrypoint.sh b/develop/fpm-alpine/entrypoint.sh index fc1504d..2d8582d 100644 --- a/develop/fpm-alpine/entrypoint.sh +++ b/develop/fpm-alpine/entrypoint.sh @@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then # TODO Workaround because of a strange permission issue rm -fr $WORKDIR/view/smarty3/compiled elif [ "$1" = "update" ]; then + echo "Updating Friendica" console "dbstructure update" + + exit 0 fi fi fi diff --git a/develop/fpm/entrypoint.sh b/develop/fpm/entrypoint.sh index fc1504d..2d8582d 100644 --- a/develop/fpm/entrypoint.sh +++ b/develop/fpm/entrypoint.sh @@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then # TODO Workaround because of a strange permission issue rm -fr $WORKDIR/view/smarty3/compiled elif [ "$1" = "update" ]; then + echo "Updating Friendica" console "dbstructure update" + + exit 0 fi fi fi diff --git a/stable/apache/entrypoint.sh b/stable/apache/entrypoint.sh index fc1504d..2d8582d 100644 --- a/stable/apache/entrypoint.sh +++ b/stable/apache/entrypoint.sh @@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then # TODO Workaround because of a strange permission issue rm -fr $WORKDIR/view/smarty3/compiled elif [ "$1" = "update" ]; then + echo "Updating Friendica" console "dbstructure update" + + exit 0 fi fi fi diff --git a/stable/fpm-alpine/entrypoint.sh b/stable/fpm-alpine/entrypoint.sh index fc1504d..2d8582d 100644 --- a/stable/fpm-alpine/entrypoint.sh +++ b/stable/fpm-alpine/entrypoint.sh @@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then # TODO Workaround because of a strange permission issue rm -fr $WORKDIR/view/smarty3/compiled elif [ "$1" = "update" ]; then + echo "Updating Friendica" console "dbstructure update" + + exit 0 fi fi fi diff --git a/stable/fpm/entrypoint.sh b/stable/fpm/entrypoint.sh index fc1504d..2d8582d 100644 --- a/stable/fpm/entrypoint.sh +++ b/stable/fpm/entrypoint.sh @@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then # TODO Workaround because of a strange permission issue rm -fr $WORKDIR/view/smarty3/compiled elif [ "$1" = "update" ]; then + echo "Updating Friendica" console "dbstructure update" + + exit 0 fi fi fi