Workaround for CentOS 7 gzip
The CentOS 7 gzip doesn't have `--keep`. Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
committed by
Christian Goll
parent
77f1bd6797
commit
0d3eeb09e5
2
Makefile
2
Makefile
@@ -68,7 +68,7 @@ man_pages: wwctl $(wildcard docs/man/man5/*.5)
|
||||
mkdir -p docs/man/man1
|
||||
./wwctl --emptyconf genconfig man docs/man/man1
|
||||
gzip --force docs/man/man1/*.1
|
||||
gzip --force --keep docs/man/man5/*.5
|
||||
for manpage in docs/man/man5/*.5; do gzip <$${manpage} >$${manpage}.gz; done
|
||||
|
||||
etc/defaults.conf: wwctl
|
||||
./wwctl --emptyconf genconfig defaults >etc/defaults.conf
|
||||
|
||||
Reference in New Issue
Block a user