From 968998d27f07024a7631dfbd1d22ed9f494581df Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Thu, 22 Jan 2015 05:48:05 +0200 Subject: [PATCH] bootanimation: Remove halfres zips before regenerating them Change-Id: I8688700d85c3c29c650488cc469aed5ead5ec0e4 --- prebuilt/common/bootanimation/halfres/generate-half-res-anims.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/prebuilt/common/bootanimation/halfres/generate-half-res-anims.sh b/prebuilt/common/bootanimation/halfres/generate-half-res-anims.sh index 2b6c9a97..a76ed5c8 100755 --- a/prebuilt/common/bootanimation/halfres/generate-half-res-anims.sh +++ b/prebuilt/common/bootanimation/halfres/generate-half-res-anims.sh @@ -3,6 +3,7 @@ HALF_RES_RESOLUTIONS="240 320 360 480 540 600 1440" for i in $HALF_RES_RESOLUTIONS; do + rm -f $i.zip mkdir $i cd $i if [ -f ../../$(($i/2)).zip ]; then