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