From: Frank Brehm Date: Fri, 17 Jun 2016 07:06:43 +0000 (+0200) Subject: Adding apt-get clean to chroots-distupgrade X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=3088b819ac0cee387ebf75d7324d440fc93b212e;p=scripts%2Fdebian.git Adding apt-get clean to chroots-distupgrade --- 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