Use composer install instead of composer update for CORE

This commit is contained in:
Lance Edgar 2023-02-19 12:05:22 -06:00
parent bdd89db30d
commit 20a3871522

View file

@ -69,11 +69,11 @@ def install_corepos(c, rootdir, rooturl_office, production=True,
user=user)
c.sudo("bash -c 'cd {} && {} config --no-plugins allow-plugins.corepos/composer-installer true'".format(is4c, composer),
user=user)
# TODO: why is 'update' needed instead of 'install' ?
# c.sudo("bash -c 'cd {} && {} install'".format(is4c, composer),
# user=user)
c.sudo("bash -c 'cd {} && {} update'".format(is4c, composer),
c.sudo("bash -c 'cd {} && {} install'".format(is4c, composer),
user=user)
# TODO: (why) is 'update' needed instead of 'install' ?
# c.sudo("bash -c 'cd {} && {} update'".format(is4c, composer),
# user=user)
# shadowread
if make_shadowread: