mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 20:05:55 +02:00
deb,rpm: include empty directory etc/crowdsec/acquis.d (#2997)
This commit is contained in:
parent
b4e79aaf0a
commit
e4a8d3b99e
3 changed files with 4 additions and 0 deletions
1
debian/rules
vendored
1
debian/rules
vendored
|
@ -17,6 +17,7 @@ override_dh_auto_install:
|
|||
|
||||
mkdir -p debian/crowdsec/usr/bin
|
||||
mkdir -p debian/crowdsec/etc/crowdsec
|
||||
mkdir -p debian/crowdsec/etc/crowdsec/acquis.d
|
||||
mkdir -p debian/crowdsec/usr/share/crowdsec
|
||||
mkdir -p debian/crowdsec/etc/crowdsec/hub/
|
||||
mkdir -p debian/crowdsec/usr/share/crowdsec/config
|
||||
|
|
|
@ -37,6 +37,7 @@ sed -i "s#/usr/local/lib/crowdsec/plugins/#%{_libdir}/%{name}/plugins/#g" config
|
|||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}/etc/crowdsec/acquis.d
|
||||
mkdir -p %{buildroot}/etc/crowdsec/hub
|
||||
mkdir -p %{buildroot}/etc/crowdsec/patterns
|
||||
mkdir -p %{buildroot}/etc/crowdsec/console/
|
||||
|
|
|
@ -409,12 +409,14 @@ check_cs_version () {
|
|||
install_crowdsec() {
|
||||
mkdir -p "${CROWDSEC_DATA_DIR}"
|
||||
(cd config && find patterns -type f -exec install -Dm 644 "{}" "${CROWDSEC_CONFIG_PATH}/{}" \; && cd ../) || exit
|
||||
mkdir -p "${CROWDSEC_CONFIG_PATH}/acquis.d" || exit
|
||||
mkdir -p "${CROWDSEC_CONFIG_PATH}/scenarios" || exit
|
||||
mkdir -p "${CROWDSEC_CONFIG_PATH}/postoverflows" || exit
|
||||
mkdir -p "${CROWDSEC_CONFIG_PATH}/collections" || exit
|
||||
mkdir -p "${CROWDSEC_CONFIG_PATH}/patterns" || exit
|
||||
mkdir -p "${CROWDSEC_CONFIG_PATH}/appsec-configs" || exit
|
||||
mkdir -p "${CROWDSEC_CONFIG_PATH}/appsec-rules" || exit
|
||||
mkdir -p "${CROWDSEC_CONFIG_PATH}/contexts" || exit
|
||||
mkdir -p "${CROWDSEC_CONSOLE_DIR}" || exit
|
||||
|
||||
# tmp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue