From 813e283c8da5a359e02c20dc276ecb8e6b80efc2 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 12 Jan 2019 17:53:46 +0100 Subject: [PATCH] =?UTF-8?q?Quelques=20petites=20am=C3=A9liorations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mirror_mageia | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mirror_mageia b/mirror_mageia index 756cecf..902f051 100644 --- a/mirror_mageia +++ b/mirror_mageia @@ -33,13 +33,13 @@ iferror( ) #$RESULT, $TXT, $LINENO echo -e "$2: réussi" echo -e "$2: réussi" >>$MSG else - echo -e "\e[36m$3 - $2\e[0m: échoué" - echo -e "$3 - $2: échoué" >>$MSG + echo -e "\e[36mligne $3 - $2\e[0m: échoué" + echo -e "ligne $3 - $2: échoué" >>$MSG fi } -title "Synchronisation miroirs Mageia" +echo "Synchronisation miroirs Mageia" pidof -o %PPID -x -s mirror_mageia if [ $? -eq 0 ];then echo "" >$MSG @@ -47,6 +47,7 @@ if [ $? -eq 0 ];then else #Mageia current version echo "" >$MSG + title "Synchronisation de Mageia $PRESENT" rsync -a -H -S -v --delete-after --delete-excluded --delay-updates --exclude="*testing" --exclude="*debug/" --exclude="SRPMS/" $SERVEUR/distrib/$PRESENT/ "$MIRRORPATH"/distrib/$PRESENT/ if [ $? -eq 0 ]; then @@ -82,7 +83,7 @@ else #cauldron - title "syncing cauldron" + title "Synchronisation de Mageia cauldron" rsync -v -aHS --delete-after --delete-excluded --delay-updates --exclude=SRPMS/ --exclude "armv5tl/" --exclude=*testing --exclude="*debug/" $SERVEUR/distrib/cauldron/ "$MIRRORPATH"/distrib/cauldron/ if [ $? -eq 0 ]; then cd "$MIRRORPATH"/distrib/cauldron @@ -112,7 +113,7 @@ else fi #Mageia $OLD - title "syncing Mageia $OLD" + title "Synchronisation de Mageia $OLD" rsync -a -H -S -v --delete-after --delete-excluded --delay-updates --exclude=*testing --exclude=clef --exclude="*debug/" --exclude="armv5tl/" --exclude="SRPMS/" $SERVEUR/distrib/$OLD/ "$MIRRORPATH"/distrib/$OLD/ if [ $? -eq 0 ]; then