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 () {
|
function update_or_install () {
|
||||||
|
|
||||||
|
if [ -f ${ZAMMAD_DIR}/config/database.yml ]; then
|
||||||
|
|
||||||
echo "# Clear cache..."
|
echo "# Clear cache..."
|
||||||
zammad run rails r Cache.clear
|
zammad run rails r Cache.clear
|
||||||
|
|
||||||
if [ -f ${ZAMMAD_DIR}/config/database.yml ]; then
|
|
||||||
update_database
|
update_database
|
||||||
|
|
||||||
update_translations
|
update_translations
|
||||||
|
|
Loading…
Reference in a new issue