mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-25 06:55:29 +00:00
Standardized package installation commands to use 'apt install' instead of 'apt-get'. Replaced manual database setup with helper functions for PostgreSQL and MariaDB where applicable. Hardware acceleration setup is now handled by a shared function. Removed repetitive cleanup code and replaced with a single 'cleanup_lxc' call at the end of each script. Updated PHP version for FreshRSS and simplified repository setup for Fhem and Grafana. Fixed merge conflict in graylog-install.sh and removed unnecessary temporary file handling.
34 lines
649 B
Bash
34 lines
649 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2021-2025 tteck
|
|
# Author: tteck (tteckster)
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
# Source: https://fhem.de/
|
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
color
|
|
verb_ip6
|
|
catch_errors
|
|
setting_up_container
|
|
network_check
|
|
update_os
|
|
|
|
msg_info "Installing Dependencies"
|
|
$STD apt install -y avahi-daemon
|
|
msg_ok "Installed Dependencies"
|
|
|
|
setup_deb822_repo \
|
|
"debianfhemde" \
|
|
"https://debian.fhem.de/archive.key" \
|
|
"https://debian.fhem.de/nightly/" \
|
|
"/" \
|
|
""
|
|
|
|
msg_info "Installing Fhem"
|
|
$STD apt install -y fhem
|
|
msg_ok "Installed Fhem"
|
|
|
|
motd_ssh
|
|
customize
|
|
cleanup_lxc
|