summaryrefslogtreecommitdiff
path: root/scripts/build/installer_preseed
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-12 01:38:58 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-03-13 14:42:34 +0000
commit5e423d0851f0c42cd2c23274a8207006c69dfb0f (patch)
tree475a208fffec08ca10451faa7e01f67cd0c6c5d5 /scripts/build/installer_preseed
parent3e3e8c2c64a36699f90fd52d5167b636590473b7 (diff)
downloadvyos-live-build-5e423d0851f0c42cd2c23274a8207006c69dfb0f.tar.gz
vyos-live-build-5e423d0851f0c42cd2c23274a8207006c69dfb0f.zip
fix instances of bad stagefile creation circumstances
theres no point in creation of stagefiles being kept within a conditional block of work. if the script completes with success then it should create its stagefile to thus avoid repeating any work that it might have done should it get re-run without being forced. Gbp-Dch: Short
Diffstat (limited to 'scripts/build/installer_preseed')
-rwxr-xr-xscripts/build/installer_preseed6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/installer_preseed b/scripts/build/installer_preseed
index c5802be65..6bef6c46b 100755
--- a/scripts/build/installer_preseed
+++ b/scripts/build/installer_preseed
@@ -62,7 +62,7 @@ then
cat "${_FILE}" >> "${_DIRECTORY}/preseed.cfg"
fi
done
-
- # Creating stage file
- Create_stagefile .build/installer_preseed
fi
+
+# Creating stage file
+Create_stagefile .build/installer_preseed