This commit is contained in:
2025-06-07 17:46:57 +03:00
parent 8dd444aa87
commit 53b3a0a955
3 changed files with 21 additions and 4 deletions

View File

@@ -1 +1,7 @@
# proxy # proxy
to use the scripts, type:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/galoz11/proxy/refs/heads/main/<Script_Name>.sh)"
example:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/galoz11/proxy/refs/heads/main/code_server.sh)"

View File

@@ -22,9 +22,9 @@ alias die='EXIT=$? LINE=$LINENO error_exit'
trap die ERR trap die ERR
echo "Installing Dependencies" echo "Installing Dependencies"
apt-get update &>/dev/null apt update &>/dev/null
apt-get install -y curl &>/dev/null apt install -y curl &>/dev/null
apt-get install -y git &>/dev/null apt install -y git &>/dev/null
echo "Installed Dependencies" echo "Installed Dependencies"
VERSION=$(curl -fsSL https://api.github.com/repos/coder/code-server/releases/latest | VERSION=$(curl -fsSL https://api.github.com/repos/coder/code-server/releases/latest |

11
functions_test.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
if command -v pveversion >/dev/null 2>&1; then
echo -e "⚠️ Can't Install on Proxmox "
exit
fi
header_info