diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-11-15 15:58:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-11-15 15:58:26 +0000 |
commit | 14d62f9faa528afbeefdef670010570f19dd44a5 (patch) | |
tree | 819669922119198d64c289b04290f1c5367ed2ee | |
parent | Releasing version 20211113. (diff) | |
download | compute-tools-14d62f9faa528afbeefdef670010570f19dd44a5.tar.xz compute-tools-14d62f9faa528afbeefdef670010570f19dd44a5.zip |
Speeding up full-upgrades in container update command by removing redundant upgrade step.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | libexec/container/update | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libexec/container/update b/libexec/container/update index 4c23423..729baff 100755 --- a/libexec/container/update +++ b/libexec/container/update @@ -119,12 +119,14 @@ do echo "Updating ${NAME}" echo "################################################################################" - container run -n ${NAME} -- "apt update && apt ${YES} upgrade" - case "${FULL_UPGRADE}" in true) container run -n ${NAME} -- "apt update && apt ${YES} full-upgrade" ;; + + *) + container run -n ${NAME} -- "apt update && apt ${YES} upgrade" + ;; esac case "${AUTOREMOVE}" in |