roundcube update +

composer_lock_reset
This commit is contained in:
cronekorkn 2023-09-06 09:25:17 +02:00
parent 4415bc32f5
commit b459821a8d
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
2 changed files with 12 additions and 3 deletions

View file

@ -43,7 +43,7 @@ actions['extract_roundcube'] = {
], ],
'triggers': [ 'triggers': [
'action:chown_roundcube', 'action:chown_roundcube',
'action:composer_install', 'action:composer_lock_reset',
], ],
} }
actions['chown_roundcube'] = { actions['chown_roundcube'] = {
@ -75,7 +75,16 @@ files['/opt/roundcube/plugins/password/config.inc.php'] = {
'action:chown_roundcube', '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'] = { 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'", '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, 'triggered': True,

View file

@ -194,7 +194,7 @@
}, },
'roundcube': { 'roundcube': {
'product_name': 'Sublimity Mail', 'product_name': 'Sublimity Mail',
'version': '1.5.0', 'version': '1.6.2',
'installer': True, 'installer': True,
}, },
'vm': { 'vm': {