From: Michael Prokop Date: Mon, 14 Dec 2009 23:26:46 +0000 (+0100) Subject: Use apt-get clean instead of manually removing files in /var/cache/apt/archives X-Git-Tag: v0.33~9 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=b379c74396164ff7ad0c5a750e053cba074eb60e;ds=inline Use apt-get clean instead of manually removing files in /var/cache/apt/archives --- diff --git a/chroot-script b/chroot-script index 75c6990..b2158aa 100755 --- a/chroot-script +++ b/chroot-script @@ -131,7 +131,7 @@ EOF # remove now useless apt cache {{{ remove_apt_cache() { - find /var/cache/apt/archives -name '*.deb' -exec rm -f '{}' \; + apt-get clean } # }}}