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 subject=$2
body=$3 body=$3
if [ ! "$(grep "Problème" <<<"$subject")" = "" ] if [[ $subject == *"Problème"* ]]
then then
#Problème #Problème
tag="facepalm" tag="facepalm"
elif [ ! "$(grep "Resolus" <<<"$subject")" = "" ] elif [[ $subject == *"Résolus"* ]]
then then
#Résolu #Résolu
tag="+1" tag="+1"