bernd / fpm-cookery

A tool for building software packages with fpm.
Other
460 stars 88 forks source link

Issues when creating packages from directories for nexus #181

Open rhoml opened 7 years ago

rhoml commented 7 years ago

I am trying to build a debian package for Sonatype nexus and for some weird reason the final package is a 3MB package with only one of the directories from nexus. Any idea of how can I debug what is going on?

class Nexus < FPM::Cookery::Recipe
  description 'Sonatype nexus'

  name     'nexus'
  version  '3.1.0-04'

  homepage 'http://www.sonatype.org/nexus/'
  source   "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-#{version}-unix.tar.gz"

  def build
  end

  def install
    opt('nexus').install Dir['*']
  end
end