From d17e3c5b552f806492ffc5d0b3d0a7664bfa649e Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 14 Oct 2021 08:31:04 +0200 Subject: [PATCH] Fixes #3808 - Regression of #3797 causes installation of new instances from package to fail. --- contrib/packager.io/functions | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/packager.io/functions b/contrib/packager.io/functions index a8d9dcae2..8f3f91983 100644 --- a/contrib/packager.io/functions +++ b/contrib/packager.io/functions @@ -273,10 +273,11 @@ function elasticsearch_searchindex_rebuild () { function update_or_install () { - echo "# Clear cache..." - zammad run rails r Cache.clear - if [ -f ${ZAMMAD_DIR}/config/database.yml ]; then + + echo "# Clear cache..." + zammad run rails r Cache.clear + update_database update_translations