Sha256: fb757e60c4a863073a63454e93441e104bcffaace59f394679e037014af64773
Contents?: true
Size: 513 Bytes
Versions: 1
Compression:
Stored size: 513 Bytes
Contents
namespace :packages do desc "Remove, update and install packages" task :install do # Settings fetch(:packages_type) fetch(:packages_add) fetch(:packages_remove) # Set package type package.type = packages_type # Remove packages package.remove(packages_remove) unless packages_remove.blank? # Update all existing packages package.update # Install packages package.install(packages_add) unless packages_add.blank? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capitate-0.1.7 | lib/recipes/packages.rb |