From 392774b7918a1beda87d2b5e4329faaccdc77c9c Mon Sep 17 00:00:00 2001 From: Mips2648 Date: Sat, 7 Jun 2025 15:03:59 +0200 Subject: [PATCH] remove comments --- ct/jeedom.sh | 15 ++------------- install/jeedom-install.sh | 4 +--- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/ct/jeedom.sh b/ct/jeedom.sh index 2c9586f4..932cd3c8 100644 --- a/ct/jeedom.sh +++ b/ct/jeedom.sh @@ -1,27 +1,18 @@ #!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG -# Author: Mips +# Author: Mips2648 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://jeedom.com/ -# App Default Values APP="Jeedom" -# Name of the app (e.g. Google, Adventurelog, Apache-Guacamole" var_tags="automation;smarthome" -# Tags for Proxmox VE, maximum 2 pcs., no spaces allowed, separated by a semicolon ; (e.g. database | adblock;dhcp) var_cpu="2" -# Number of cores (1-X) (e.g. 4) - default are 2 var_ram="2048" -# Amount of used RAM in MB (e.g. 2048 or 4096) var_disk="16" -# Amount of used disk space in GB (e.g. 4 or 10) var_os="debian" -# Default OS (e.g. debian, ubuntu, alpine) var_version="11" -# Default OS version (e.g. 12 for debian, 24.04 for ubuntu, 3.20 for alpine) var_unprivileged="1" -# 1 = unprivileged container, 0 = privileged container header_info "$APP" variables @@ -33,13 +24,11 @@ function update_script() { check_container_storage check_container_resources - # OS Check if ! lsb_release -d | grep -q "Debian GNU/Linux"; then msg_error "Wrong OS detected. Jeedom only supports Debian" exit 1 fi - # Check if installation is present | -f for file, -d for folder if [[ ! -f /var/www/html/core/config/version ]]; then msg_error "No ${APP} Installation Found!" exit diff --git a/install/jeedom-install.sh b/install/jeedom-install.sh index ff3ff2db..9f7f13b9 100644 --- a/install/jeedom-install.sh +++ b/install/jeedom-install.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Copyright (c) 2021-2025 community-scripts ORG -# Author: Mips +# Author: Mips2648 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://jeedom.com/ @@ -19,7 +19,6 @@ $STD apt-get update $STD apt-get -o Dpkg::Options::="--force-confold" -y dist-upgrade msg_ok "OS upgraded" -# Installing Dependencies with the 3 core dependencies (curl;sudo;mc) msg_info "Installing dependencies" $STD apt-get install -y \ curl \ @@ -30,7 +29,6 @@ $STD apt-get install -y \ git msg_ok "Dependencies installed" -# OS Check msg_info "Checking OS version" if ! lsb_release -d | grep -q "Debian GNU/Linux"; then msg_error "Wrong OS detected. Jeedom only supports Debian"