Compare commits

...

2 Commits

Author SHA1 Message Date
CanbiZ
e03359fc80 fixes
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-16 22:11:15 +02:00
CanbiZ
43e35f6f99 fixes 2025-10-16 22:10:49 +02:00
2 changed files with 2096 additions and 2095 deletions

View File

@ -278,7 +278,7 @@ msg_info "Generating installation report"
systemctl is-active mongod &>/dev/null && echo "MongoDB: Active" systemctl is-active mongod &>/dev/null && echo "MongoDB: Active"
systemctl is-active php8.3-fpm &>/dev/null && echo "PHP-FPM: 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" 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 cat ~/tools-func-test-report.txt
msg_ok "Test report saved to ~/tools-func-test-report.txt" msg_ok "Test report saved to ~/tools-func-test-report.txt"

View File

@ -16,6 +16,7 @@ cache_installed_version() {
get_cached_version() { get_cached_version() {
local app="$1" 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" [[ -f "/var/cache/app-versions/${app}_version.txt" ]] && cat "/var/cache/app-versions/${app}_version.txt"
} }