-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pkgin installer. #218
base: master
Are you sure you want to change the base?
Add pkgin installer. #218
Conversation
`pkgin` is a binary package manager for pkgsrc on BSD, macOS, Linux, SunOS, Minix and SmartOS/Illumos.
Looks pretty good. Can pkgin not install multiple packages at the same time by listing them out? Should use sudo_cmd, not explicitly invoke sudo. |
Yes.
Fixed. |
def pkgin(package, &block) | ||
install Pkgin.new(self, package, &block) | ||
end | ||
end | ||
verify_api do | ||
def has_pkgin(package) | ||
@commands << "pkgin list | egrep '^#{@package_name}-'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't we decide this should be grep -e
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry. New commits fixed this typo.
pkgin
is a binary package manager for pkgsrc on BSD, macOS,Linux, SunOS, Minix and SmartOS/Illumos.
lib/sprinkle/installers/pkgin.rb | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 lib/sprinkle/installers/pkgin.rb