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