fix: remove installation checks from update_script function
This commit is contained in:
@@ -26,15 +26,6 @@ function update_script() {
|
|||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
|
|
||||||
if [[ ! -d /opt/localagi || ! -f /opt/localagi/LOCALAGI_VERSION.txt ]]; then
|
|
||||||
msg_error "No ${APP} Installation Found!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! check_for_gh_release "localagi" "mudler/LocalAGI"; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_info "Stopping LocalAGI Service"
|
msg_info "Stopping LocalAGI Service"
|
||||||
systemctl stop localagi
|
systemctl stop localagi
|
||||||
msg_ok "Stopped LocalAGI Service"
|
msg_ok "Stopped LocalAGI Service"
|
||||||
|
|||||||
Reference in New Issue
Block a user