4 if [ -z "$family" ]; then
5 echo "You need to provide a distribution family ('debian', 'ubuntu'); prefix with 'nd+' to enable the NeuroDebian repository."
9 if [ -z "$dist" ]; then
10 echo "You need to provide a distribution codename (e.g. 'lenny', 'squeeze')."
15 cowbuilderroot="/home/cowbuilder"
16 buildplace="${cowbuilderroot}/build"
19 aptcache="${cowbuilderroot}/debian_aptcache"
20 components="main contrib non-free"
21 mirror="http://debian.lcs.mit.edu/debian"
23 # overwrite necessary bits for ubuntu
24 if [ "$family" = "ubuntu" ]; then
25 aptcache="${cowbuilderroot}/ubuntu_aptcache"
26 components="main universe"
27 mirror="http://ubuntu.media.mit.edu/ubuntu"
30 if [ ! -d $aptcache ]; then mkdir $aptcache; fi