From 5d7855ae0571f1f51c51b09da33a58012548dda7 Mon Sep 17 00:00:00 2001 From: Mips2648 Date: Mon, 9 Jun 2025 08:00:19 +0200 Subject: [PATCH] remove os check & update default var --- ct/jeedom.sh | 19 +++++++------------ install/jeedom-install.sh | 8 +------- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/ct/jeedom.sh b/ct/jeedom.sh index 932cd3c8..b64d2685 100644 --- a/ct/jeedom.sh +++ b/ct/jeedom.sh @@ -6,13 +6,13 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV # Source: https://jeedom.com/ APP="Jeedom" -var_tags="automation;smarthome" -var_cpu="2" -var_ram="2048" -var_disk="16" -var_os="debian" -var_version="11" -var_unprivileged="1" +var_tags="${var_tags:-automation;smarthome}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-16}" +var_os="${var_os:-debian}" +var_version="${var_version:-11}" +var_unprivileged="${var_unprivileged:-1}" header_info "$APP" variables @@ -24,11 +24,6 @@ function update_script() { check_container_storage check_container_resources - if ! lsb_release -d | grep -q "Debian GNU/Linux"; then - msg_error "Wrong OS detected. Jeedom only supports Debian" - exit 1 - fi - 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 7ccddf0b..e8e7874c 100644 --- a/install/jeedom-install.sh +++ b/install/jeedom-install.sh @@ -5,6 +5,7 @@ # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://jeedom.com/ +# Import Functions und Setup source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color verb_ip6 @@ -24,13 +25,6 @@ $STD apt-get install -y \ git msg_ok "Dependencies installed" -msg_info "Checking OS version" -if ! lsb_release -d | grep -q "Debian GNU/Linux"; then - msg_error "Wrong OS detected. Jeedom only supports Debian" - exit 1 -fi -msg_ok "OS check done" - DEFAULT_BRANCH="master" echo while true; do