#!/bin/bash # vedir=`grep -2 vepath ~/.pbrc.yml | grep default: | cut -d: -f2` distros=`grep -2 velist $vedir/.pbrc.yml | grep default: | cut -d: -f2` for pbos in `echo $distros | sed 's/,/ /g'; do d=`echo $pbos | cut -d- -f1` v=`echo $pbos | cut -d- -f2` docker pull ${d}:$v # Check status to see whether we shodl go further if [ _"$d" = _"mageia" ]; then /users/bruno/svn-git/pb/devel/contrib/mkctn $d $v mageiaofficial else /users/bruno/svn-git/pb/devel/contrib/mkctn $d $v fi done