elasticsearch/elasticsearch — pull request #6817 by dadoonet (2014-07-10 17:40:01+00:00)
Title: bin/plugin removes itself

If you call `bin/plugin --remove es-plugin` the plugin got removed but the file `bin/plugin` itself was also deleted.

We now don't allow the following plugin names:

* elasticsearch
* elasticsearch-service-x86.exe
* plugin
* elasticsearch-service-mgr.exe
* elasticsearch.bat
* plugin.bat
* elasticsearch-service-x64.exe
* elasticsearch.in.sh
* service.bat

Closes #6745