bigbluebutton-Github/build/packages-template/bbb-libreoffice-docker/before-remove.sh

10 lines
314 B
Bash
Raw Normal View History

2021-08-13 18:53:18 +08:00
#!/bin/bash -ex
#NETWORK_CHECK=`docker network inspect bbb-libreoffice &> /dev/null && echo 1 || echo 0`
if docker network inspect bbb-libreoffice &> /dev/null; then
echo "removing bbb-libreoffice docker network"
docker network remove bbb-libreoffice
else
echo "not removing bbb-libreoffice docker network"
fi