Make librsvg2-bin dependency unconditional for syslinux
We do provide a splash.svg by default so the check will always return true unless the user has forked live-build... thus the check is pointless.
This commit is contained in:
parent
24c2b3e119
commit
103daf9f7c
|
@ -93,12 +93,7 @@ fi
|
|||
# Checking depends
|
||||
Check_package chroot /usr/lib/$(echo ${_BOOTLOADER} | tr [a-z] [A-Z]) ${_BOOTLOADER}
|
||||
Check_package chroot /usr/lib/syslinux syslinux-common
|
||||
|
||||
if ls "${_SOURCE}"/*.svg* > /dev/null 2>&1 || ls "${_SOURCE_COMMON}"/*.svg* > /dev/null 2>&1 ||
|
||||
ls "${_SOURCE_USER}"/*.svg* > /dev/null 2>&1 || ls "${_SOURCE_USER_COMMON}"/*.svg* > /dev/null 2>&1
|
||||
then
|
||||
Check_package chroot /usr/bin/rsvg-convert librsvg2-bin
|
||||
fi
|
||||
Check_package chroot /usr/bin/rsvg-convert librsvg2-bin
|
||||
|
||||
# Restoring cache
|
||||
Restore_package_cache binary
|
||||
|
|
Loading…
Reference in New Issue