fix(macports): correct inverted logic (#13812)

This commit is contained in:
SOUFIAN3HM
2026-06-15 11:06:22 +01:00
committed by GitHub
parent ffa8487bc7
commit d708ca9d99

View File

@@ -8,7 +8,7 @@ alias puo="sudo port upgrade outdated"
alias pup="sudo port selfupdate && sudo port upgrade outdated"
port-livecheck-maintainer() {
(( ${+commands[port]} == 0 )) || {
(( ${+commands[port]} )) || {
print -- "port: not found" >&2
return 1
}