Un outil nonymes de la langue française - retour accueil
git clone git://bebou.netlib.re/des
Log | Files | Refs | README |
commit 142ce95404beafc03670beee239363d1ed3b9741 parent bced177973afdf757d1a4b905beb5e0394bf9415 Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Sun, 6 Apr 2025 15:44:48 +0200 Vérification si la bdd existe pas déjà avant dl Normalement non mais quand on fait des tests ça peut arriver Diffstat:
M | des | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/des b/des @@ -25,7 +25,7 @@ if grep -q "^# TOREMOVE$" "$0";then case $mode in ('En ligne') mode="online";; ('Hors ligne') - curl -Ls http://arthur.bebou.netlib.re/crisco-des/data > synonymes.tsv + [ ! -f "synonymes.tsv" ] && curl -Ls http://arthur.bebou.netlib.re/crisco-des/data > synonymes.tsv mode="offline" path="$(pwd)/synonymes.tsv";; (*) printf "On ne fait rien\n"; exit 0;;