diff --git a/elements/dpkg/post-install.d/99-clean-up-cache b/elements/dpkg/finalise.d/99-clean-up-cache similarity index 56% rename from elements/dpkg/post-install.d/99-clean-up-cache rename to elements/dpkg/finalise.d/99-clean-up-cache index 487c34744..8046c8a0e 100755 --- a/elements/dpkg/post-install.d/99-clean-up-cache +++ b/elements/dpkg/finalise.d/99-clean-up-cache @@ -4,6 +4,4 @@ set -eu set -o pipefail -if ! mount | grep /var/cache/apt/archives; then - apt-get clean -fi +apt-get clean