f7dd584
1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash -e function checkDomain { clever domain | grep "${DOMAIN}" } function setDomain { clever domain add "${DOMAIN}" } checkDomain || setDomain