diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-15 20:37:55 +0000 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-16 01:36:53 +0000 |
commit | 1a9a1585ad11cd8f0c9ffaf2141c9edd9dec2019 (patch) | |
tree | 21fabc78229bdfccc685e99cda08aa3e8bea79c0 /scripts/build/installer_debian-installer | |
parent | 789118855772e4bdf3590c7a64329cc417fc742c (diff) | |
download | vyos-live-build-1a9a1585ad11cd8f0c9ffaf2141c9edd9dec2019.tar.gz vyos-live-build-1a9a1585ad11cd8f0c9ffaf2141c9edd9dec2019.zip |
installer: restore udeb existence check
this was removed as part of b54bdd7fb18d32178094e8c4e1493b6121044c11
but is actually still needed.
Gbp-Dch: Ignore
Diffstat (limited to 'scripts/build/installer_debian-installer')
-rwxr-xr-x | scripts/build/installer_debian-installer | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build/installer_debian-installer b/scripts/build/installer_debian-installer index c24311612..729f822e8 100755 --- a/scripts/build/installer_debian-installer +++ b/scripts/build/installer_debian-installer @@ -643,8 +643,10 @@ then # Sort udebs into alphabetised pool structure for UDEB in ${UDEBS} ${UDEBS_DERIVED}; do _UDEB_FILENAME="$(basename ${UDEB})" - Install_file "${_UDEB_FILENAME}" "pool-udeb" - rm "${_UDEB_FILENAME}" + if [ -f "${_UDEB_FILENAME}" ]; then + Install_file "${_UDEB_FILENAME}" "pool-udeb" + rm "${_UDEB_FILENAME}" + fi done # Creating udeb indices |