X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;f=update_myconfig.sh;h=67436e8a5a360402521aa637d68b5068fcb8f489;hb=48d203704e241567b7b17438aea7eff7e06bae0c;hp=7da0fc1f5822871e5f5f9c92e50c94ebfd6fb80c;hpb=66722ac5b0bc032dbbaef64d58920d3af64b5603;p=scripts-20-100.git diff --git a/update_myconfig.sh b/update_myconfig.sh index 7da0fc1..67436e8 100755 --- a/update_myconfig.sh +++ b/update_myconfig.sh @@ -6,15 +6,22 @@ color='' endcolor='' +if [ "$1" = "--local" ] +then + localmode=".local" +fi + +echo "Les machines de Serenity sont en dernier (.local issue)" + +echo "${color}Ne peut pas mettre à jour (ForwardAgent=no) :${endcolor} tahines, rasputin" + # locally -echo "${color}sur eva:${endcolor}" +echo "${color}sur eva:${endcolor} (localement)" cd ~/.myconfig git pull -for i in cerebro cabal info22 bde bde2 bde3 videobde pimeys baldrick quigon hexagon zamok ovh rezosup +for i in cerebro info22 bde bde2 bde3 videobde pimeys baldrick quigon hexagon zamok soyouz rezosup acoeur gladys${localmode} cabal${localmode} do echo "${color}sur $i:${endcolor}" ssh $i 'cd .myconfig; git pull' done - -echo "${color}Pas pu mettre à jour (ForwardAgent=no) :${endcolor} tahines, rasputin"