mirror of
https://github.com/goreleaser/nfpm.git
synced 2026-06-19 08:05:04 +00:00
feat: remove empty_folders for good (#522)
* feat: remove empty_folders for good Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> * fix: build Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8e17486f10
commit
1e0d944603
+4
-3
@@ -33,9 +33,10 @@ contents:
|
||||
mode: 04755
|
||||
- dst: /usr/foo/bar/something
|
||||
type: dir
|
||||
empty_folders:
|
||||
- /var/log/whatever
|
||||
- /usr/share/foo
|
||||
- dst: /var/log/whatever
|
||||
type: dir
|
||||
- dst: /usr/share/foo
|
||||
type: dir
|
||||
scripts:
|
||||
preinstall: ./testdata/acceptance/scripts/preinstall.sh
|
||||
postinstall: ./testdata/acceptance/scripts/postinstall.sh
|
||||
|
||||
+4
-3
@@ -25,9 +25,10 @@ contents:
|
||||
- src: ./testdata/whatever.conf
|
||||
dst: /etc/foo/whatever.conf
|
||||
type: config
|
||||
empty_folders:
|
||||
- /var/log/whatever
|
||||
- /usr/share/foo
|
||||
- dst: /var/log/whatever
|
||||
type: dir
|
||||
- dst: /usr/share/foo
|
||||
type: dir
|
||||
scripts:
|
||||
preinstall: ./testdata/acceptance/scripts/preinstall.sh
|
||||
postinstall: ./testdata/acceptance/scripts/postinstall.sh
|
||||
|
||||
Vendored
+5
-4
@@ -26,9 +26,10 @@ contents:
|
||||
- src: ./testdata/whatever.conf
|
||||
dst: /etc/noreplace.conf
|
||||
type: config|noreplace
|
||||
empty_folders:
|
||||
- /var/log/whatever
|
||||
- /usr/share/foo
|
||||
- dst: /var/log/whatever
|
||||
type: dir
|
||||
- dst: /usr/share/foo
|
||||
type: dir
|
||||
scripts:
|
||||
preinstall: ./testdata/acceptance/scripts/preinstall.sh
|
||||
postinstall: ./testdata/acceptance/scripts/postinstall.sh
|
||||
@@ -37,4 +38,4 @@ scripts:
|
||||
apk:
|
||||
scripts:
|
||||
preupgrade: ./testdata/acceptance/scripts/preupgrade.sh
|
||||
postupgrade: ./testdata/acceptance/scripts/postupgrade.sh
|
||||
postupgrade: ./testdata/acceptance/scripts/postupgrade.sh
|
||||
|
||||
Vendored
+5
-4
@@ -26,9 +26,10 @@ contents:
|
||||
- src: ./testdata/whatever2.conf
|
||||
dst: /etc/noreplace.conf
|
||||
type: config|noreplace
|
||||
empty_folders:
|
||||
- /var/log/whatever
|
||||
- /usr/share/foo
|
||||
- dst: /var/log/whatever
|
||||
type: dir
|
||||
- dst: /usr/share/foo
|
||||
type: dir
|
||||
scripts:
|
||||
preinstall: ./testdata/acceptance/scripts/preinstall.sh
|
||||
postinstall: ./testdata/acceptance/scripts/postinstall.sh
|
||||
@@ -37,4 +38,4 @@ scripts:
|
||||
apk:
|
||||
scripts:
|
||||
preupgrade: ./testdata/acceptance/scripts/preupgrade.sh
|
||||
postupgrade: ./testdata/acceptance/scripts/postupgrade.sh
|
||||
postupgrade: ./testdata/acceptance/scripts/postupgrade.sh
|
||||
|
||||
Reference in New Issue
Block a user