summaryrefslogtreecommitdiffstats
path: root/libexec/container/update
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/container/update')
-rwxr-xr-xlibexec/container/update1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/container/update b/libexec/container/update
index 80f154a..cf26de9 100755
--- a/libexec/container/update
+++ b/libexec/container/update
@@ -128,6 +128,7 @@ do
;;
*)
+ # usefull use of grep to de-colorize apt output
PACKAGES="$(for PACKAGE in $(container run -n ${NAME} -- "apt list \-\-upgradable 2>/dev/null | grep '\/'" | awk -F/ '{ print $1 }'); do echo -n "${PACKAGE} "; done | sed -e 's| $||'; echo)"
case "${FULL_UPGRADE}" in