1
0
mirror of https://github.com/jordansissel/fpm synced 2025-08-29 04:01:33 +02:00
fpm/lib
Jordan Sissel 17297d191c Only show /etc "config files" warning when files are present in /etc.
This should silence a warning in cases when packages do not contain any
/etc files. Prior to this commit, most debian package creation would
have this warning emitted:

```
Debian packaging tools generally labels all files in /etc as config files, as mandated by policy, so fpm defaults to this behavior for deb packages. You can disable this default behavior with --deb-no-default-config-files flag {:level=>:warn}
```

Fixes #1851
2021-11-09 21:05:55 -08:00
..
fpm Only show /etc "config files" warning when files are present in /etc. 2021-11-09 21:05:55 -08:00
fpm.rb Introduce support for snap packages (#1490) 2018-10-16 15:59:17 -07:00