remove comments
This commit is contained in:
parent
50d922ec4a
commit
392774b791
15
ct/jeedom.sh
15
ct/jeedom.sh
@ -1,27 +1,18 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
# Author: Mips
|
# Author: Mips2648
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
# Source: https://jeedom.com/
|
# Source: https://jeedom.com/
|
||||||
|
|
||||||
# App Default Values
|
|
||||||
APP="Jeedom"
|
APP="Jeedom"
|
||||||
# Name of the app (e.g. Google, Adventurelog, Apache-Guacamole"
|
|
||||||
var_tags="automation;smarthome"
|
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"
|
var_cpu="2"
|
||||||
# Number of cores (1-X) (e.g. 4) - default are 2
|
|
||||||
var_ram="2048"
|
var_ram="2048"
|
||||||
# Amount of used RAM in MB (e.g. 2048 or 4096)
|
|
||||||
var_disk="16"
|
var_disk="16"
|
||||||
# Amount of used disk space in GB (e.g. 4 or 10)
|
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
# Default OS (e.g. debian, ubuntu, alpine)
|
|
||||||
var_version="11"
|
var_version="11"
|
||||||
# Default OS version (e.g. 12 for debian, 24.04 for ubuntu, 3.20 for alpine)
|
|
||||||
var_unprivileged="1"
|
var_unprivileged="1"
|
||||||
# 1 = unprivileged container, 0 = privileged container
|
|
||||||
|
|
||||||
header_info "$APP"
|
header_info "$APP"
|
||||||
variables
|
variables
|
||||||
@ -33,13 +24,11 @@ function update_script() {
|
|||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
|
|
||||||
# OS Check
|
|
||||||
if ! lsb_release -d | grep -q "Debian GNU/Linux"; then
|
if ! lsb_release -d | grep -q "Debian GNU/Linux"; then
|
||||||
msg_error "Wrong OS detected. Jeedom only supports Debian"
|
msg_error "Wrong OS detected. Jeedom only supports Debian"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if installation is present | -f for file, -d for folder
|
|
||||||
if [[ ! -f /var/www/html/core/config/version ]]; then
|
if [[ ! -f /var/www/html/core/config/version ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
# Author: Mips
|
# Author: Mips2648
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
# Source: https://jeedom.com/
|
# Source: https://jeedom.com/
|
||||||
|
|
||||||
@ -19,7 +19,6 @@ $STD apt-get update
|
|||||||
$STD apt-get -o Dpkg::Options::="--force-confold" -y dist-upgrade
|
$STD apt-get -o Dpkg::Options::="--force-confold" -y dist-upgrade
|
||||||
msg_ok "OS upgraded"
|
msg_ok "OS upgraded"
|
||||||
|
|
||||||
# Installing Dependencies with the 3 core dependencies (curl;sudo;mc)
|
|
||||||
msg_info "Installing dependencies"
|
msg_info "Installing dependencies"
|
||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
@ -30,7 +29,6 @@ $STD apt-get install -y \
|
|||||||
git
|
git
|
||||||
msg_ok "Dependencies installed"
|
msg_ok "Dependencies installed"
|
||||||
|
|
||||||
# OS Check
|
|
||||||
msg_info "Checking OS version"
|
msg_info "Checking OS version"
|
||||||
if ! lsb_release -d | grep -q "Debian GNU/Linux"; then
|
if ! lsb_release -d | grep -q "Debian GNU/Linux"; then
|
||||||
msg_error "Wrong OS detected. Jeedom only supports Debian"
|
msg_error "Wrong OS detected. Jeedom only supports Debian"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user