This commit is contained in:
parent
8762f96810
commit
d17e3c5b55
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue