Class: Registry::Gzip
- Defined in:
- lib/radiant/extension/script.rb
Instance Attribute Summary
Attributes inherited from Installer
Instance Method Summary collapse
Methods inherited from Download
#download, #initialize, #install
Methods inherited from Installer
#copy_to_vendor_extensions, #initialize, #install, #migrate, #update
Methods inherited from Action
Constructor Details
This class inherits a constructor from Registry::Download
Instance Method Details
#filename ⇒ Object
186 187 188 |
# File 'lib/radiant/extension/script.rb', line 186 def filename @unpacked ? super : "#{self.name}.tar.gz" end |
#unpack ⇒ Object
190 191 192 193 194 |
# File 'lib/radiant/extension/script.rb', line 190 def unpack system "cd #{Dir.tmpdir}; gunzip #{self.filename}" @unpacked = true super end |