From 14d62f9faa528afbeefdef670010570f19dd44a5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Nov 2021 16:58:26 +0100 Subject: Speeding up full-upgrades in container update command by removing redundant upgrade step. Signed-off-by: Daniel Baumann --- libexec/container/update | 6 ++++-- 1 file 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 -- cgit v1.2.3