First files to the project

This commit is contained in:
Antonio de la Rosa 2022-02-07 00:35:21 +01:00
commit cda8eb1232
26 changed files with 2657 additions and 0 deletions

View file

@ -0,0 +1,29 @@
#!/bin/sh
echo "Installing git"
echo '{"error": 0, "status": 0, "progress": 0, "no_progress":0, "message": "Installing git..."}'
sleep 1
sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y git
if [ $? -eq 0 ]; then
sleep 1
#echo "Installed git sucessfully if not error..."
echo '{"error": 0, "status": 0, "progress": 100, "no_progress":0, "message": "Installed git sucessfully..."}'
sleep 1
else
echo "Sorry, cannot update the server..."
exit;
fi