delete unnecessary comments

This commit is contained in:
2025-04-06 20:49:31 +03:00
parent 9e077fe17d
commit b6cf36dc7e
4 changed files with 1 additions and 8 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.facinus*

View File

@@ -52,12 +52,8 @@ install_arch_dependencies() {
}
install_debian_dependencies() {
# Update package lists
sudo apt update -q
# Install required packages
PACKAGES=("apache2" "php" "libapache2-mod-php" "git" "build-essential" "curl" "ethtool")
sudo DEBIAN_FRONTEND=noninteractive apt install -y "${PACKAGES[@]}"
# Enable PHP module

View File

@@ -27,11 +27,8 @@ generate_obfuscated_script() {
# Base64 encode the script to obfuscate it
base64 -w0 < "$DEPLOY_DIR/y" > "$DEPLOY_DIR/y.b64"
# Replace the placeholder with the actual base64 content
sed -i "s|BASE64_PLACEHOLDER|$(cat "$DEPLOY_DIR/y.b64")|g" "$DEPLOY_DIR/x"
# Copy the obfuscated script to the server
sudo cp "$DEPLOY_DIR/x" "$SERVER_ROOT/"
sudo chmod 644 "$SERVER_ROOT/x"

View File

@@ -2,7 +2,6 @@
# Process command line arguments
process_args() {
# Process command line arguments
while [[ $# -gt 0 ]]; do
case $1 in
--no-root)