do not delete data on remove

This commit is contained in:
Peter 2012-02-08 08:43:39 +01:00
parent 93134bd89e
commit 30dbb0773f
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ set -e
case "$1" in
remove)
# Remove logs and data
rm -rf /var/log/elasticsearch /var/lib/elasticsearch
# Remove logs but not the data
rm -rf /var/log/elasticsearch
;;
purge)