Skip to content

Conversation

@overhacked
Copy link

  1. Not sure what change to Homebrew or Ruby caused this issue, but running brew-pkg results in an error when accessing ARGV that Array has no method next. Fix ARGV.next method not found #16 already partially addresses the missing ARGV.next errors, but it missed one. All Fix ARGV.next method not found #16's changes are included in this PR.
  2. brew-pkg detects formulae with LaunchDaemons by testing for Formula.plist, but a LaunchDaemon can also be defined by Formula.service. Changed the conditional to check for existence of either. The rest of the LaunchDaemon writing code works as-is.

Already partially addressed in timsutton#16, but that
PR missed one call to the non-existent `Array.next`.
Current behavior is to check for the existence of
`Formula.plist` to see if there is a LaunchDaemon to be
included in the package, but `Formula.service` can also
define a LaunchDaemon. Check for either, and the rest of the
conditional code works as-is.
@overhacked overhacked closed this May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant