Cleanup apt cache after grub install

Grub installation happens in finalize.d so cleanup should be done after this.

This reapplies I6322b8b529e31fd1b7251dd9e07cc85f442f7e81 after the revert,
but working.

Change-Id: Ie1873e64d407552da37a8dbedc13c3adbf79c085
This commit is contained in:
Endre Karlson 2014-07-15 19:56:26 +02:00 committed by Jon-Paul Sullivan
parent 280513194e
commit ccce52fd21

View File

@ -4,6 +4,4 @@
set -eu
set -o pipefail
if ! mount | grep /var/cache/apt/archives; then
apt-get clean
fi
apt-get clean