Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (15 sloc) 0.339 kb
module Sprinkle
module Installers
class User < Installer
def initialize(package, username, options, &block)
super package, &block
@username = username
@options = options
end
protected
def install_commands
"adduser #{@options[:flags]} #{@username}"
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.