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

10 lines
314 B
Bash
Executable File

#!/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