6 elif [ $# -ge 2 ]; then
13 if [ -z "$family" ]; then
14 echo "you need to provide a distribution family ('debian', 'ubuntu'); prefix with 'nd+' to enable the neurodebian repository."
18 if [ -z "$dist" ]; then
19 echo "you need to provide a distribution codename (e.g. 'lenny', 'squeeze')."
23 . /etc/neurodebian/cmdsettings.sh "$family" "$dist"
26 opts="--distribution $dist --aptcache $aptcache --buildplace $buildplace"
35 echo "Updating arch $a..."
36 cowbuilder --update --basepath ${cowbuilderroot}/cow/${family}-${dist}-${a}.cow $opts