X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=mirroring%2Fmirror.sh;h=56c394d77e818f704e7aa48fe32a0c20f6339fb3;hb=bb8cb6f65f9ac93bc81a512dc8a4b409c0358350;hp=e4b1e166305003708042440a31c8604177981125;hpb=f070fcb49ea7ee36968474d7094f9a8ee7e53cd6;p=build.git diff --git a/mirroring/mirror.sh b/mirroring/mirror.sh index e4b1e166..56c394d7 100755 --- a/mirroring/mirror.sh +++ b/mirroring/mirror.sh @@ -6,7 +6,7 @@ DIRNAME=$(dirname $0) default_url="http://localhost/mirror/" default_distro="f8" -all_distros="fc4 fc6 f7 f8 centos5" +all_distros="f8 f10 f12 f13 centos5" function check_distro () { local distro=$1; shift @@ -79,14 +79,14 @@ function usage () { echo "Usage $COMMAND [options] " echo " a help to manage the yum.repos.d template in /etc/vservers/.distributions/" echo "Available commands" - echo " display: shows content (default if missing)" - echo " init: creates /etc/vservers/.distributions//yum.repos.d/building.repo" - echo " default is to use mirror root at $default_url" - echo " use -u URL to specify another location" + echo " display: shows content (default if is missing)" echo " diff: shows diff between current and what init would do" + echo " init: creates /etc/vservers/.distributions//yum.repos.d/building.repo" echo " clean: removes building.repo" echo " superclean: removes yum.repos.d altogether" echo "Options" + echo " -u URL to specify another location" + echo " default is to use mirror root at $default_url" echo " -f : defaults to $default_distro" echo " -a : runs on all distros $all_distros" echo " -0 : turns off gpgcheck" @@ -94,7 +94,7 @@ function usage () { echo "Examples" echo " $COMMAND -a display " echo " $COMMAND -a superclean" - echo " $COMMAND -a -u http://mirror.one-lab.org/ init" + echo " $COMMAND -a -u http://mirror.onelab.eu/ init" echo " $COMMAND -a display" exit 1 }