Sfoglia il codice sorgente

Delete img before exporting.

tags/v4.0.0-beta.1
Luigi Cruz 4 anni fa
parent
commit
b995879867
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      builder/export-image/04-finalise/01-run.sh

+ 1
- 0
builder/export-image/04-finalise/01-run.sh Vedi File

@@ -94,6 +94,7 @@ if [ "${DEPLOY_ZIP}" == "1" ]; then
tar -cJf "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.tar.xz" \
"$(basename "${IMG_FILE}")"
popd > /dev/null
rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img"
else
cp "$IMG_FILE" "$DEPLOY_DIR"
fi


Caricamento…
Annulla
Salva