Merge pull request #12785 from nik9000/remove_conf
Fix rpm -e removing /etc/elasticsearch
This commit is contained in:
commit
3c76e15aab
|
@ -141,6 +141,15 @@
|
|||
</sources>
|
||||
</mapping>
|
||||
<!-- Add configuration files -->
|
||||
<mapping>
|
||||
<!-- Explicitly add conf.dir to the file list so
|
||||
that it is removed when the package is removed.
|
||||
This is required because the scripts
|
||||
subdirectory is created outside of the mapping
|
||||
that creates the conf.dir.-->
|
||||
<directory>${packaging.elasticsearch.conf.dir}</directory>
|
||||
<configuration>noreplace</configuration>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<directory>${packaging.elasticsearch.conf.dir}/</directory>
|
||||
<configuration>noreplace</configuration>
|
||||
|
|
Loading…
Reference in New Issue