remove os check & update default var

This commit is contained in:
Mips2648
2025-06-09 08:00:19 +02:00
parent 44d6958fe8
commit 5d7855ae05
2 changed files with 8 additions and 19 deletions

View File

@@ -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