fix: debian package does not include "versions"

Related to #259: https://github.com/ovh/debian-cis/issues/259
This commit is contained in:
Damien Cavagnini
2025-07-01 13:04:24 +02:00
parent be33848d81
commit e6092a03f6

1
debian/rules vendored
View File

@ -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