Compare commits
2 Commits
6f8d13cf41
...
e03359fc80
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e03359fc80 | ||
![]() |
43e35f6f99 |
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user