modifié : update_all_repo.sh

This commit is contained in:
2024-05-07 22:53:52 +02:00
parent 7a555fdaf7
commit 1386ade3a8

View File

@@ -1,10 +1,5 @@
#!/bin/bash
# Update of the Initialization script
echo "Updating the Initialization script"
rm /home/modelec/Serge/Initialisation/startup.sh && cd /home/modelec/Serge/Initialisation && git pull && chmod 777 startup.sh
echo "Initialization script updated"
# Update of the TCP server
echo "Updating the TCP server"
cd /home/modelec/Serge/TCPSocketServer && git pull && cd build && cmake .. && make
@@ -50,4 +45,5 @@ echo "Updating the tirette"
cd /home/modelec/Serge/tirette && git pull && g++ main.cpp MyClient.cpp MyClient.h -o tirette -l wiringPi -l TCPSocket
echo "Tirette updated"
echo "All repositories have been updated, Please check the logs for any errors"
echo "All repositories have been updated, Please check the logs for any errors"
echo "Please update Initialisation manually using git pull"