conversion traitement de chaine en double crochet

This commit is contained in:
Axel 2024-09-09 23:55:49 +02:00
parent 21f8b91986
commit fb1ead51ef

View File

@ -29,11 +29,11 @@ topic=$1
subject=$2
body=$3
if [ ! "$(grep "Problème" <<<"$subject")" = "" ]
if [[ $subject == *"Problème"* ]]
then
#Problème
tag="facepalm"
elif [ ! "$(grep "Resolus" <<<"$subject")" = "" ]
elif [[ $subject == *"Résolus"* ]]
then
#Résolu
tag="+1"