# HG changeset patch # User Pascal Bellard # Date 1355409256 -3600 # Node ID e4dc1d3e7ff97ec9f825561f45f0bcbedc8a3aa6 # Parent 4a6aaec03e946836383be01ac294a0d5ba956263 tazlito: may use iso2exe (again) diff -r 4a6aaec03e94 -r e4dc1d3e7ff9 tazlito --- a/tazlito Thu Dec 13 15:31:03 2012 +0100 +++ b/tazlito Thu Dec 13 15:34:16 2012 +0100 @@ -249,11 +249,6 @@ /usr/bin/isohybrid $1 -entry 2 2> /dev/null status fi - if [ -x /usr/bin/iso2exe ]; then - echo -n "Creating EXE header..." - /usr/bin/iso2exe $1 2> /dev/null - status - fi if [ -s /etc/tazlito/info ]; then if [ $(stat -c %s /etc/tazlito/info) -lt $(( 31*1024 )) ]; then echo -n "Storing ISO info..." @@ -262,6 +257,11 @@ status fi fi + if [ -x /usr/bin/iso2exe ]; then + echo -n "Creating EXE header..." + /usr/bin/iso2exe $1 2> /dev/null + status + fi } # Generate a new ISO image using isolinux.