mirror of
https://github.com/modelec/Initialisation.git
synced 2026-03-18 21:30:40 +01:00
modifié : update_all_repo.sh
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user