diff --git a/beagleboard.org_image.sh b/beagleboard.org_image.sh index b4ba8a149d40b39957b1aee4d4aae1afc5a76ea4..36af351fa86d5af8f74e3c8cb0aed93dcba4e669 100755 --- a/beagleboard.org_image.sh +++ b/beagleboard.org_image.sh @@ -136,6 +136,10 @@ production () { cat > ${DIR}/deploy/ship.sh <<-__EOF__ #!/bin/bash + if [ -d ./debian-7.3-console-armhf-${time} ] ; then + rm -rf debian-7.3-console-armhf-${time} || true + fi + xz -z -7 -v debian-7.3-console-armhf-${time}.tar tar xf debian-7.3-console-armhf-${time}.tar.xz