From 3088b819ac0cee387ebf75d7324d440fc93b212e Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 17 Jun 2016 09:06:43 +0200 Subject: [PATCH] Adding apt-get clean to chroots-distupgrade --- chroots-distupgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chroots-distupgrade b/chroots-distupgrade index 9bc6b70..84e0fd4 100755 --- a/chroots-distupgrade +++ b/chroots-distupgrade @@ -42,7 +42,7 @@ for distro in wheezy jessie stretch trusty vivid wily xenial ; do continue fi echo -e "Upgrading chroot ${GREEN}${chroot}${NORMAL} ..." - schroot -c source:${chroot} -u root -d /root -- bash -c "apt-get update && apt-get dist-upgrade -y" + schroot -c source:${chroot} -u root -d /root -- bash -c "apt-get update && apt-get dist-upgrade -y && apt-get clean" done -- 2.39.5