mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
Packaging: fix rpm -e removing /etc/elasticsearch
When we fixed rpm creating the /etc/elasticsearch/scripts directory we broke removing the rpm - it lef the /etc/elasticsearch directory behind. This fixes that.
This commit is contained in:
parent
13a347239a
commit
7223f7c75a
@ -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…
x
Reference in New Issue
Block a user