1
0

Bugs mineurs corrigés

Signed-off-by: Daniel Tartavel <contact@librepc.com>
This commit is contained in:
Daniel Tartavel
2019-02-03 18:18:44 +01:00
parent 2e24e32af1
commit c413ec0bda
2 changed files with 24 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ DESTMAIL="contact@lalis.fr"
FROMMAIL="root@lalis.fr"
TASKRPM="task-lalis"
MIRRORPATH="/mirror/mageia"
MEDIAINFO_PATH="$MIRRORPATH/config_lalis"
MEDIAINFO_PATH="$MIRRORPATH/config_lalis/media_info"
MSG=/tmp/mirror_mageia.mail
SERVEUR="rsync://fr2.rpmfind.net/linux/mageia"
#SERVEUR="http://ftp.free.fr/mirrors/mageia.org"
@@ -32,7 +32,7 @@ iferror( ) #$RESULT, $TXT, $LINENO
{
if [ "$1" -eq 0 ];then
echo -e "$2: réussi"
echo -e "$2: réussi" >>$MSG
#echo -e "$2: réussi" >>$MSG
else
echo -e "\e[36mligne $3 - $2\e[0m: échoué"
echo -e "ligne $3 - $2: échoué" >>$MSG