mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
ad
asd
This commit is contained in:
1 parent
02f17ed05f
commit
1e8dd7939e
3 files changed
+4
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user