3
This commit is contained in:
@@ -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)"
|
||||
|
||||
@@ -22,9 +22,9 @@ alias die='EXIT=$? LINE=$LINENO error_exit'
|
||||
trap die ERR
|
||||
|
||||
echo "Installing Dependencies"
|
||||
apt-get update &>/dev/null
|
||||
apt-get install -y curl &>/dev/null
|
||||
apt-get install -y git &>/dev/null
|
||||
apt update &>/dev/null
|
||||
apt install -y curl &>/dev/null
|
||||
apt install -y git &>/dev/null
|
||||
echo "Installed Dependencies"
|
||||
|
||||
VERSION=$(curl -fsSL https://api.github.com/repos/coder/code-server/releases/latest |
|
||||
|
||||
11
functions_test.sh
Normal file
11
functions_test.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
header_info
|
||||
if command -v pveversion >/dev/null 2>&1; then
|
||||
echo -e "⚠️ Can't Install on Proxmox "
|
||||
exit
|
||||
fi
|
||||
|
||||
header_info
|
||||
|
||||
Reference in New Issue
Block a user