]> git.donarmstrong.com Git - neurodebian.git/commitdiff
Allow for NeuroDebian+Ubuntu cows to be build.
authorMichael Hanke <michael.hanke@gmail.com>
Thu, 3 Sep 2009 20:19:39 +0000 (16:19 -0400)
committerMichael Hanke <michael.hanke@gmail.com>
Thu, 3 Sep 2009 20:19:39 +0000 (16:19 -0400)
tools/nd_cmdsettings.sh

index 6a5103a9cf4b45c8925541d59668239d50c6a89c..92871d433b38e8094c1e6eb435e547d8aacbd6ba 100755 (executable)
@@ -27,7 +27,7 @@ components="main contrib non-free"
 mirror="http://debian.lcs.mit.edu/debian"
 
 # overwrite necessary bits for ubuntu
 mirror="http://debian.lcs.mit.edu/debian"
 
 # overwrite necessary bits for ubuntu
-if [ "$family" = "ubuntu" ]; then
+if [ "${family#nd+}" = "ubuntu" ]; then
   aptcache="${cowbuilderroot}/ubuntu_aptcache"
   components="main universe"
   mirror="http://ubuntu.media.mit.edu/ubuntu"
   aptcache="${cowbuilderroot}/ubuntu_aptcache"
   components="main universe"
   mirror="http://ubuntu.media.mit.edu/ubuntu"