d2f4c3b843
Sometimes users want to maintain the apt cache in their images. Change-Id: Id49a04896cf3eeaf1557f1d644e4d8ba64716392
13 lines
216 B
Bash
Executable File
13 lines
216 B
Bash
Executable File
#!/bin/bash
|
|
# Do an apt-get clean. This will free some space.
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
if [ "${DIB_DISABLE_APT_CLEANUP:-0}" != "1" ]; then
|
|
apt-get clean
|
|
fi
|