conversion traitement de chaine en double crochet
This commit is contained in:
parent
21f8b91986
commit
fb1ead51ef
4
ntfy.sh
4
ntfy.sh
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user