mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-30 19:36:24 +00:00
Update install_proxmenux_beta.sh
This commit is contained in:
@@ -1,15 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
# ProxMenux Monitor - Beta Program Installer
|
# ProxMenux Monitor - Beta Program Installer
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
# Author : MacRimi
|
# Author : MacRimi
|
||||||
# Subproject : ProxMenux Monitor Beta
|
# Subproject : ProxMenux Monitor Beta
|
||||||
# Copyright : (c) 2024-2025 MacRimi
|
# Copyright : (c) 2024-2025 MacRimi
|
||||||
# License : GPL-3.0 (https://github.com/MacRimi/ProxMenux/blob/main/LICENSE)
|
# License : GPL-3.0 (https://github.com/MacRimi/ProxMenux/blob/main/LICENSE)
|
||||||
# Version : Beta
|
# Version : Beta 1.1
|
||||||
# Branch : develop
|
# Branch : develop
|
||||||
# ==========================================================
|
# Last Updated : 2026-03-26
|
||||||
|
# ==========================================================
|
||||||
# Description:
|
# Description:
|
||||||
# This script installs the BETA version of ProxMenux Monitor
|
# This script installs the BETA version of ProxMenux Monitor
|
||||||
# from the develop branch on GitHub.
|
# from the develop branch on GitHub.
|
||||||
@@ -365,12 +366,15 @@ install_proxmenux_monitor() {
|
|||||||
chmod +x "$target_path"
|
chmod +x "$target_path"
|
||||||
|
|
||||||
# Copy shutdown-notify.sh script for systemd ExecStop
|
# Copy shutdown-notify.sh script for systemd ExecStop
|
||||||
local shutdown_script_src="$TEMP_DIR/Scripts/shutdown-notify.sh"
|
local shutdown_script_src="$TEMP_DIR/scripts/shutdown-notify.sh"
|
||||||
mkdir -p "$MONITOR_INSTALL_DIR/scripts"
|
|
||||||
local shutdown_script_dst="$MONITOR_INSTALL_DIR/scripts/shutdown-notify.sh"
|
local shutdown_script_dst="$MONITOR_INSTALL_DIR/scripts/shutdown-notify.sh"
|
||||||
cp "$shutdown_script_src" "$shutdown_script_dst"
|
if [ -f "$shutdown_script_src" ]; then
|
||||||
chmod +x "$shutdown_script_dst"
|
cp "$shutdown_script_src" "$shutdown_script_dst"
|
||||||
msg_ok "Shutdown notification script installed."
|
chmod +x "$shutdown_script_dst"
|
||||||
|
msg_ok "Shutdown notification script installed."
|
||||||
|
else
|
||||||
|
msg_warn "Shutdown script not found at $shutdown_script_src"
|
||||||
|
fi
|
||||||
msg_ok "ProxMenux Monitor beta v${appimage_version} installed."
|
msg_ok "ProxMenux Monitor beta v${appimage_version} installed."
|
||||||
|
|
||||||
if [ "$service_exists" = false ]; then
|
if [ "$service_exists" = false ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user