mirror of
https://github.com/ovh/debian-cis.git
synced 2025-07-03 15:59:49 +02:00
fix: debian package does not include "versions" (#260)
Related to #259: https://github.com/ovh/debian-cis/issues/259 Co-authored-by: Damien Cavagnini <damien.cavagnini@corp.ovh.com>
This commit is contained in:
1
debian/rules
vendored
1
debian/rules
vendored
@ -28,6 +28,7 @@ override_dh_install:
|
|||||||
# (ls | sort -V | xargs -i echo /opt/cis-hardening/etc/conf.d/{} -- without README -- with ../hardening.cfg)
|
# (ls | sort -V | xargs -i echo /opt/cis-hardening/etc/conf.d/{} -- without README -- with ../hardening.cfg)
|
||||||
cp -R etc $(CURDIR)/debian/$(PACKAGE)/opt/$(PACKAGE)/
|
cp -R etc $(CURDIR)/debian/$(PACKAGE)/opt/$(PACKAGE)/
|
||||||
cp -R lib $(CURDIR)/debian/$(PACKAGE)/opt/$(PACKAGE)/
|
cp -R lib $(CURDIR)/debian/$(PACKAGE)/opt/$(PACKAGE)/
|
||||||
|
cp -R versions $(CURDIR)/debian/$(PACKAGE)/opt/$(PACKAGE)/
|
||||||
# cleanup git stuff if any
|
# cleanup git stuff if any
|
||||||
find $(CURDIR)/debian/$(PACKAGE) -type f -name .gitignore -delete
|
find $(CURDIR)/debian/$(PACKAGE) -type f -name .gitignore -delete
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user