mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
check if it exists before removal
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
This commit is contained in:
parent
e04636765e
commit
c67f7b9023
@ -52,7 +52,10 @@ else
|
||||
done
|
||||
# Removal Elastichsearch Docker image
|
||||
docker_prune_this "docker.elastic.co/elasticsearch/elasticsearch"
|
||||
docker network rm fulltextsearch_es01-network
|
||||
if docker network ls | grep fulltextsearch_es01-network
|
||||
then
|
||||
docker network rm fulltextsearch_es01-network
|
||||
fi
|
||||
rm -rf "$FULLTEXTSEARCH_DIR"
|
||||
# Show successful uninstall if applicable
|
||||
removal_popup "$SCRIPT_NAME"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user