From 43e35f6f99be917625f820c90d7bea2bd7338a0c Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 16 Oct 2025 22:10:49 +0200 Subject: [PATCH] fixes --- install/debian-install.sh | 2 +- misc/tools.func | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/install/debian-install.sh b/install/debian-install.sh index 96774cb4a..57ce16580 100644 --- a/install/debian-install.sh +++ b/install/debian-install.sh @@ -278,7 +278,7 @@ msg_info "Generating installation report" systemctl is-active mongod &>/dev/null && echo "MongoDB: Active" systemctl is-active php8.3-fpm &>/dev/null && echo "PHP-FPM: Active" systemctl is-active local-ip-helper &>/dev/null && echo "Local IP Helper: Active" -} > ~/tools-func-test-report.txt +} >~/tools-func-test-report.txt cat ~/tools-func-test-report.txt msg_ok "Test report saved to ~/tools-func-test-report.txt" diff --git a/misc/tools.func b/misc/tools.func index a9a385cdd..c3f1ed709 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -16,6 +16,7 @@ cache_installed_version() { get_cached_version() { local app="$1" + mkdir -p /var/cache/app-versions [[ -f "/var/cache/app-versions/${app}_version.txt" ]] && cat "/var/cache/app-versions/${app}_version.txt" }