OpenSearch/distribution
Tanguy Leroux 3caaafa4bd [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.
2016-09-14 18:18:37 +02:00
..
deb Rename client yaml test infrastructure 2016-07-26 13:53:44 -04:00
integ-test-zip Rename client yaml test infrastructure 2016-07-26 13:53:44 -04:00
licenses Introduce Log4j 2 2016-08-30 13:31:24 -04:00
rpm [Package] Remove bin/lib/modules directories on RPM uninstall/upgrade (#20448) 2016-09-14 18:18:37 +02:00
src/main [Packaging] Do not remove scripts directory on upgrade (#20452) 2016-09-14 10:11:27 +02:00
tar Rename client yaml test infrastructure 2016-07-26 13:53:44 -04:00
zip Rename client yaml test infrastructure 2016-07-26 13:53:44 -04:00
build.gradle Merge branch 'master' into log4j2 2016-08-31 22:34:47 -04:00