Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rpm -e removing /etc/elasticsearch #12785

Merged
merged 1 commit into from Aug 11, 2015
Merged

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Aug 10, 2015

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.

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.
@nik9000 nik9000 added the :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts label Aug 10, 2015
@nik9000
Copy link
Member Author

nik9000 commented Aug 10, 2015

Ping @spinscale

@spinscale
Copy link
Contributor

ok, tested with a file lying around in /etc/elasticsearch/scripts - which means, the directory remains on deletion, removed the file after and reinstalled/removed the RPM - the directory was gone.

tested on centos-7

LGTM

nik9000 added a commit that referenced this pull request Aug 11, 2015
Fix rpm -e removing /etc/elasticsearch
@nik9000 nik9000 merged commit 3c76e15 into elastic:master Aug 11, 2015
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts Team:Delivery Meta label for Delivery team v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants