From b459821a8dc8b928f389321e9d0e72bc764f78d6 Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Wed, 6 Sep 2023 09:25:17 +0200 Subject: [PATCH] roundcube update + composer_lock_reset --- bundles/roundcube/items.py | 13 +++++++++++-- nodes/netcup.mails.py | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/bundles/roundcube/items.py b/bundles/roundcube/items.py index bb00cc5..bd923ec 100644 --- a/bundles/roundcube/items.py +++ b/bundles/roundcube/items.py @@ -43,7 +43,7 @@ actions['extract_roundcube'] = { ], 'triggers': [ 'action:chown_roundcube', - 'action:composer_install', + 'action:composer_lock_reset', ], } actions['chown_roundcube'] = { @@ -75,7 +75,16 @@ files['/opt/roundcube/plugins/password/config.inc.php'] = { 'action:chown_roundcube', ], } - +actions['composer_lock_reset'] = { + 'command': 'rm /opt/roundcube/composer.lock', + 'triggered': True, + 'needs': [ + 'action:chown_roundcube', + ], + 'triggers': [ + 'action:composer_install', + ], +} actions['composer_install'] = { 'command': "cp /opt/roundcube/composer.json-dist /opt/roundcube/composer.json && su www-data -s /bin/bash -c '/usr/bin/composer -d /opt/roundcube install'", 'triggered': True, diff --git a/nodes/netcup.mails.py b/nodes/netcup.mails.py index ed00252..2844f91 100644 --- a/nodes/netcup.mails.py +++ b/nodes/netcup.mails.py @@ -194,7 +194,7 @@ }, 'roundcube': { 'product_name': 'Sublimity Mail', - 'version': '1.5.0', + 'version': '1.6.2', 'installer': True, }, 'vm': {