Use apt-get clean instead of manually removing files in /var/cache/apt/archives
authorMichael Prokop <mika@grml.org>
Mon, 14 Dec 2009 23:26:46 +0000 (00:26 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 14 Dec 2009 23:26:46 +0000 (00:26 +0100)
chroot-script

index 75c6990..b2158aa 100755 (executable)
@@ -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
 }
 # }}}