-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Package] Remove bin/lib/modules directories on RPM uninstall/upgrade (…
…#20448) When uninstalling or upgrading elasticsearch using the RPM package some empty directories remain on the filesystem: /usr/share/elasticsearch/bin /usr/share/elasticsearch/lib /usr/share/elasticsearch/modules /usr/share/elasticsearch/modules/foo Having empty directories in modules can prevent elasticsearch to start after an upgrade: the plugins service expects to find a plugin-descriptor.properties file in every sub directory of modules. This PR cleans things a bit so that these empty directories are removed on upgrade/removal like it was in 2.x. (cherry picked from commit 3caaafa)
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters