Commit 1b8328ff authored by Reto Gantenbein's avatar Reto Gantenbein

Fix database upgrade condition for fresh installation

parent e2e108d0
......@@ -161,7 +161,8 @@
changed_when: not roundcube__register_updatedb.stdout == ''
when: (not roundcube__register_version.stdout == '' and
roundcube__git_version | version_compare(roundcube__register_version.stdout, '>')) or
(not roundcube__register_version_old | skipped)
(not roundcube__register_version_old | skipped and
not roundcube__register_version_old.stdout == '')
- name: Enable cleandb.sh Cron job
cron:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment