fix update
@ -58,16 +58,15 @@ if [[ ! -d /opt/zoraxy/src ]]; then msg_error "No ${APP} Installation Found!"; e
msg_info "Updating $APP"
systemctl stop zoraxy
cd /opt/zoraxy/src
if ! git pull; then
echo "Already up to date."
if git pull | grep -q 'Already up to date.'; then
systemctl start zoraxy
msg_ok "Already up to date. No update required."
echo "No update required."
else
exit
go mod tidy
go build
msg_ok "Updated $APP"
fi
}
Powered by BW's shoe-string budget.