Author: codehelp
Date: 2010-08-20 16:33:53 +0100 (Fri, 20 Aug 2010)
New Revision: 1199
Modified:
balloon/trunk/Makefile.tools
Log:
Add a version check for multistrap and fail if version is too old after trying to install it.
Modified: balloon/trunk/Makefile.tools
===================================================================
--- balloon/trunk/Makefile.tools 2010-08-18 16:43:48 UTC (rev 1198)
+++ balloon/trunk/Makefile.tools 2010-08-20 15:33:53 UTC (rev 1199)
@@ -44,6 +44,7 @@
multistrap:
#testing if $@ is installed - install it if the build stops here
/usr/sbin/multistrap --version &> /dev/null || if [ -e /etc/debian_version ]; then sudo apt-get $(EMDEBAPTOPTIONS) install multistrap; fi
+ dpkg --compare-versions `dpkg-query -W -f '$${Version}' multistrap` '>=' "2.1.5~tcl+1" || exit 2
debhelper:
#testing if $@ is installed - install it if the build stops here