source: devel/contrib/mkallctn @ 2358

Last change on this file since 2358 was 2358, checked in by bruno, 7 months ago

New opesuse distros have a new docker hub image name

  • Property svn:executable set to *
File size: 664 bytes
RevLine 
[2351]1#!/bin/bash
2#
3vedir=`grep -2 vepath ~/.pbrc.yml | grep default: | cut -d: -f2`
4distros=`grep -2 velist $vedir/.pbrc.yml | grep default: | cut -d: -f2`
5
[2356]6for pbos in `echo $distros | sed 's/,/ /g'`;
[2351]7do
[2356]8    d=`echo $pbos | cut -d'-' -f1`
9    v=`echo $pbos | cut -d'-' -f2`
[2351]10    # Check status to see whether we shodl go further
11    if [ _"$d" = _"mageia" ]; then
12        /users/bruno/svn-git/pb/devel/contrib/mkctn $d $v mageiaofficial
[2358]13    elif [ _"$d" = _"opensuse" ]; then
14        vm=`echo $v | cut -d . -f1`
15        if [ $vm -ge 15 ] && [ $vm -lt 42 ]; then 
16            /users/bruno/svn-git/pb/devel/contrib/mkctn $d $v opensuse/leap
17        fi
[2351]18    else
19        /users/bruno/svn-git/pb/devel/contrib/mkctn $d $v
20    fi
21done
Note: See TracBrowser for help on using the repository browser.