moved apt-get clean to cleanup.sh
authorvarac <varacanero@zeromail.org>
Sat, 25 Apr 2015 18:48:07 +0000 (20:48 +0200)
committervarac <varacanero@zeromail.org>
Sat, 25 Apr 2015 18:48:07 +0000 (20:48 +0200)
definitions/wheezy/base.sh
definitions/wheezy/cleanup.sh

index b6c858e..5997582 100644 (file)
@@ -12,7 +12,6 @@ apt-get -y install ntpdate git rdoc
 
 DEBIAN_FRONTEND=noninteractive apt-get -y install console-data
 apt-get -y dist-upgrade
-apt-get clean
 
 # Set up sudo
 cp /etc/sudoers /etc/sudoers.orig
index bc4febe..a766214 100644 (file)
@@ -2,6 +2,7 @@
 # otherwise things break with kernel upgrades
 # apt-get -y remove linux-headers-$(uname -r) build-essential
 apt-get -y autoremove
+apt-get clean
 
 # Removing leftover leases and persistent rules
 echo "cleaning up dhcp leases"