Merge "Revert "Cleanup apt cache after grub install""

This commit is contained in:
Jenkins 2014-07-25 15:57:06 +00:00 committed by Gerrit Code Review
commit 691e891c9c
2 changed files with 9 additions and 9 deletions

View File

@ -1,9 +0,0 @@
#!/bin/bash
# Do an apt-get clean. This will free some space.
set -eu
set -o pipefail
if ! chroot ${TARGET_ROOT} mount | grep /var/cache/apt/archives; then
sudo chroot ${TARGET_ROOT} apt-get clean
fi

View File

@ -0,0 +1,9 @@
#!/bin/bash
# Do an apt-get clean. This will free some space.
set -eu
set -o pipefail
if ! mount | grep /var/cache/apt/archives; then
apt-get clean
fi