From 0a553d2a32313ee98c1b3bfd78ea02d079d9895b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 18 Jul 2012 20:44:02 +0200 Subject: Handle multiple version numbers when having more than one linux flavours for splash.svg post-processing. --- scripts/build/lb_binary_syslinux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux index d88a0bf54..1d38d1d70 100755 --- a/scripts/build/lb_binary_syslinux +++ b/scripts/build/lb_binary_syslinux @@ -277,7 +277,7 @@ then _HOUR="$(date +%H)" _MINUTE="$(date +%M)" _SECOND="$(date +%S)" - _LINUX_VERSIONS="$(for _LINUX in chroot/boot/vmlinuz-* ; do chroot chroot apt-cache policy $(basename ${_LINUX} | sed -e 's|vmlinuz-|linux-image-|') | awk '/Installed: / { print $2 }' ; done)" + _LINUX_VERSIONS="$(for _LINUX in chroot/boot/vmlinuz-* ; do chroot chroot apt-cache policy $(basename ${_LINUX} | sed -e 's|vmlinuz-|linux-image-|') | awk '/Installed: / { print $2 }' ; done | sort -u)" _LIVE_BUILD_VERSIONS="$(chroot chroot apt-cache policy live-build | awk '/Installed: / { print $2 }')" _LIVE_BOOT_VERSIONS="$(chroot chroot apt-cache policy live-boot | awk '/Installed: / { print $2 }')" _LIVE_CONFIG_VERSION="$(chroot chroot apt-cache policy live-config | awk '/Installed: / { print $2 }')" -- cgit v1.2.3