Converting splash.svg not just splash.svg.in files as syslinux bootsplashes.
authorDaniel Baumann <daniel@debian.org>
Fri, 8 Feb 2013 23:04:20 +0000 (00:04 +0100)
committerDaniel Baumann <daniel@debian.org>
Fri, 8 Feb 2013 23:04:20 +0000 (00:04 +0100)
scripts/build/binary_syslinux

index c400243..f55b328 100755 (executable)
@@ -286,7 +286,10 @@ then
                -e "s|@LIVE_CONFIG_VERSION@|${_LIVE_CONFIG_VERSION}|g" \
                -e "s|@LIVE_TOOLS_VERSION@|${_LIVE_TOOLS_VERSION}|g" \
        "${_TARGET}/splash.svg.in" > "${_TARGET}/splash.svg"
+fi
 
+if [ -e "${_TARGET}/splash.svg" ]
+then
        case "${LB_BUILD_WITH_CHROOT}" in
                true)
                        cp "${_TARGET}/splash.svg" chroot
@@ -299,10 +302,10 @@ then
                        rsvg --format png --height 480 --width 640 "${_TARGET}/splash.svg" "${_TARGET}/splash.png"
                        ;;
        esac
-
-       rm -f "${_TARGET}/splash.svg.in" "${_TARGET}/splash.svg"
 fi
 
+rm -f "${_TARGET}/splash.svg.in" "${_TARGET}/splash.svg"
+
 case "${LB_MODE}" in
        progress-linux)
                for _FILE in "${_TARGET}/isolinux.bin" "${_TARGET}/isolinux.cfg" "${_TARGET}/syslinux.cfg"