Icontem

File: test/clean.sh

Recommend this page to a friend!
  Classes of Dom Hastings  >  JS Webdav Client  >  test/clean.sh  >  Download  
File: test/clean.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: JS Webdav Client
Access files of a Webdav server
Author: By
Last change:
Date: 9 months ago
Size: 207 bytes
 

Contents

Class file image Download
#!/bin/bash

if [ "$(docker ps -a | grep webdav-js-app)" ]; then
	docker stop webdav-js-app
	docker rm webdav-js-app
fi

if [ -z "$(docker images -q webdav-js 2> /dev/null)" ]; then
	docker rmi webdav-js
fi