diff --git a/nfpm.go b/nfpm.go index d820a0a3..13bc7fad 100644 --- a/nfpm.go +++ b/nfpm.go @@ -255,7 +255,7 @@ type Overridables struct { Suggests []string `yaml:"suggests,omitempty" jsonschema:"title=suggests directive,example=nfpm"` Conflicts []string `yaml:"conflicts,omitempty" jsonschema:"title=conflicts directive,example=nfpm"` Contents files.Contents `yaml:"contents,omitempty" jsonschema:"title=files to add to the package"` - EmptyFolders []string `yaml:"empty_folders,omitempty" jsonschema:"title=empty folders to be created when installing the package,example=/var/log/nfpm"` + EmptyFolders []string `yaml:"empty_folders,omitempty" jsonschema:"title=empty folders to be created when installing the package,example=/var/log/nfpm"` // deprecated Scripts Scripts `yaml:"scripts,omitempty" jsonschema:"title=scripts to execute"` RPM RPM `yaml:"rpm,omitempty" jsonschema:"title=rpm-specific settings"` Deb Deb `yaml:"deb,omitempty" jsonschema:"title=deb-specific settings"` diff --git a/www/docs/configuration.md b/www/docs/configuration.md index 39205e79..105a0212 100644 --- a/www/docs/configuration.md +++ b/www/docs/configuration.md @@ -188,10 +188,6 @@ contents: file_info: mode: 0700 -# Empty folders your package may need created. (overridable) -empty_folders: - - /var/log/foo - # Scripts to run at specific stages. (overridable) scripts: preinstall: ./scripts/preinstall.sh