Author: codehelp
Date: 2010-08-20 16:34:27 +0100 (Fri, 20 Aug 2010)
New Revision: 1200
Modified:
balloon/tags/1.0-rc1/Makefile.tools
Log:
Add a version check for multistrap and fail if version is too old after trying to install it.
Modified: balloon/tags/1.0-rc1/Makefile.tools
===================================================================
--- balloon/tags/1.0-rc1/Makefile.tools 2010-08-20 15:33:53 UTC (rev 1199)
+++ balloon/tags/1.0-rc1/Makefile.tools 2010-08-20 15:34:27 UTC (rev 1200)
@@ -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