Changeset 3679


Ignore:
Timestamp:
Aug 5, 2017, 3:18:34 AM (4 months ago)
Author:
bruno
Message:

Add support for -f option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/ansible/roles/mageia-docker/files/mageia-docker.sh

    r3676 r3679  
    1919git clone -q git@github.com:bcornec/mageia-docker.git $GITDIR
    2020
     21opt=""
    2122# Detect mirror server if any
     23if [ _"$1" = _"-f" ]; then
     24    opt="-f"
     25    shift
     26fi
    2227if [ _"$1" != _"" ]; then
    23     opt="-m $1"
    24 else
    25     opt=""
     28    opt="$opt -m $1"
    2629fi
    2730
Note: See TracChangeset for help on using the changeset viewer.