Skip to content

Commit

Permalink
docs: remove empty_folders from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Nov 14, 2021
1 parent b62d6c4 commit a8120c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion nfpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
4 changes: 0 additions & 4 deletions www/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8120c2

Please sign in to comment.