From 1e8dd7939eeb7e23915f2d0c3cd04b0dc6378f53 Mon Sep 17 00:00:00 2001 From: WickedYoda <68271168+wickedyoda@users.noreply.github.com> Date: Thu, 9 May 2024 16:48:21 -0500 Subject: [PATCH] ad asd --- server_config/debian/debian-setup.sh | 1 + server_config/ubuntu/ubuntu-setup.sh | 1 + update-from_repo.py | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/server_config/debian/debian-setup.sh b/server_config/debian/debian-setup.sh index 22eaf1d..c1a102a 100644 --- a/server_config/debian/debian-setup.sh +++ b/server_config/debian/debian-setup.sh @@ -17,6 +17,7 @@ sudo apt install git wget -y # installing cockpit sudo apt install cockpit -y +sudo apt install python -y # Check if /home/traver/public-setupfiles exists if [ -d "/home/traver/public-setupfiles" ]; then diff --git a/server_config/ubuntu/ubuntu-setup.sh b/server_config/ubuntu/ubuntu-setup.sh index b424302..961ad5e 100644 --- a/server_config/ubuntu/ubuntu-setup.sh +++ b/server_config/ubuntu/ubuntu-setup.sh @@ -17,6 +17,7 @@ sudo apt install git wget -y # installing cockpit sudo apt install cockpit -y +sudo apt install python -y # Removing ufw sudo apt remove ufw -y diff --git a/update-from_repo.py b/update-from_repo.py index 20dc067..601e20d 100644 --- a/update-from_repo.py +++ b/update-from_repo.py @@ -5,14 +5,14 @@ import subprocess subprocess.run(["sudo", "apt", "update", "-y"]) -# Check if git is installedd +# Check if git is installed try: subprocess.run(["git", "--version"], check=True) except subprocess.CalledProcessError: # Install git subprocess.run(["sudo", "apt-get", "install", "git", "-y"]) -# Specify the remote repository URLL +# Specify the remote repository URL remote_repo = "https://github.com/wickedyoda/public-setupfiles.git" # Specify the local file path