[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#586434: Let's clean the apt cache



Package: finish-install
Version: 2.23
Severity: wishlist
Tags: patch

I see no reason for leaving .deb files in /var/cache/apt/archives on a
fresh installation, so let's run apt-get clean before reboot.

OK to apply?


Index: finish-install.d/30cleanup
===================================================================
--- finish-install.d/30cleanup	(revision 0)
+++ finish-install.d/30cleanup	(revision 0)
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+chroot /target apt-get clean
+

Property changes on: finish-install.d/30cleanup
___________________________________________________________________
Added: svn:executable
   + *

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: