From 1a9a1585ad11cd8f0c9ffaf2141c9edd9dec2019 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Sun, 15 Mar 2020 20:37:55 +0000 Subject: installer: restore udeb existence check this was removed as part of b54bdd7fb18d32178094e8c4e1493b6121044c11 but is actually still needed. Gbp-Dch: Ignore --- scripts/build/installer_debian-installer | 6 ++++-- 1 file 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 -- cgit v1.2.3