diff options
author | Daniel Baumann <daniel@debian.org> | 2012-09-30 17:34:08 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-09-30 17:34:08 +0200 |
commit | 64664bb4756361194ce87124b028ff2504d5d196 (patch) | |
tree | f833ce7921bc267b21304ea73b50318a7416389f /scripts/build | |
parent | efe7090bdb45ffa9ab13d54a2c1e4dafd01f10aa (diff) | |
download | vyos-live-build-64664bb4756361194ce87124b028ff2504d5d196.tar.gz vyos-live-build-64664bb4756361194ce87124b028ff2504d5d196.zip |
Only producing zsync files for iso and iso-hybrid images.
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/binary_zsync | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build/binary_zsync b/scripts/build/binary_zsync index 7fdaf596a..f43fe8a43 100755 --- a/scripts/build/binary_zsync +++ b/scripts/build/binary_zsync @@ -24,6 +24,11 @@ Arguments "${@}" Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source Set_defaults +if [ "${LB_BINARY_IMAGES}" != "iso" ] && [ "${LB_BINARY_IMAGES}" != "iso-hybrid" ] +then + exit 0 +fi + if [ "${LB_ZSYNC}" != "true" ] then exit 0 |