diff --git a/src/steps/ccache-compress b/src/steps/ccache-compress index fc7ae1d..f66844a 100755 --- a/src/steps/ccache-compress +++ b/src/steps/ccache-compress @@ -24,4 +24,8 @@ else fi mv "$UHUBUILD_CCACHE_DIR/.${UB_SOURCENAME}_ccache.tar.xz.tmp" "$UHUBUILD_CCACHE_DIR/${UB_SOURCENAME}_ccache.tar.xz" +if [ -f "$UHUBUILD_CCACHE_DIR/${UB_SOURCENAME}_ccache.tar.gz" ]; then + rm -f "$UHUBUILD_CCACHE_DIR/${UB_SOURCENAME}_ccache.tar.gz" +fi + rm -f "$UB_ADMINDIR/.ccache_extracted"