testing
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled

This commit is contained in:
CanbiZ 2025-10-16 22:22:10 +02:00
parent e03359fc80
commit 5d9a7b472d

View File

@ -17,7 +17,11 @@ 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"
if [[ -f "/var/cache/app-versions/${app}_version.txt" ]]; then
cat "/var/cache/app-versions/${app}_version.txt"
return 0
fi
return 0
}
# ------------------------------------------------------------------------------