tazlito rev 297
tazlito: may use iso2exe (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 15:34:16 2012 +0100 (2012-12-13) |
parents | 4a6aaec03e94 |
children | 6825018ad15f |
files | tazlito |
line diff
1.1 --- a/tazlito Thu Dec 13 15:31:03 2012 +0100 1.2 +++ b/tazlito Thu Dec 13 15:34:16 2012 +0100 1.3 @@ -249,11 +249,6 @@ 1.4 /usr/bin/isohybrid $1 -entry 2 2> /dev/null 1.5 status 1.6 fi 1.7 - if [ -x /usr/bin/iso2exe ]; then 1.8 - echo -n "Creating EXE header..." 1.9 - /usr/bin/iso2exe $1 2> /dev/null 1.10 - status 1.11 - fi 1.12 if [ -s /etc/tazlito/info ]; then 1.13 if [ $(stat -c %s /etc/tazlito/info) -lt $(( 31*1024 )) ]; then 1.14 echo -n "Storing ISO info..." 1.15 @@ -262,6 +257,11 @@ 1.16 status 1.17 fi 1.18 fi 1.19 + if [ -x /usr/bin/iso2exe ]; then 1.20 + echo -n "Creating EXE header..." 1.21 + /usr/bin/iso2exe $1 2> /dev/null 1.22 + status 1.23 + fi 1.24 } 1.25 1.26 # Generate a new ISO image using isolinux.