mv bin2 bin2.old et supprime des ref à des scripts plus utilisés

This commit is contained in:
fab
2026-09-29 16:55:23 +02:00
parent 4e0003ef5c
commit 6c895023b5
118 changed files with 13 additions and 7 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
OLDVERSION=$(docker-compose -v | sed -En 's/.*version ([a-z0-9\.]*).*/\1/p')
DOCKERCOMPOSE_VERSION="v2.17.3"
if [ "$OLDVERSION" = "$DOCKERCOMPOSE_VERSION" ]
then
echo -e "Docker Compose déjà en version $DOCKERCOMPOSE_VERSION"
exit
fi
curl -SL https://github.com/docker/compose/releases/download/$DOCKERCOMPOSE_VERSION/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose