aboutsummaryrefslogtreecommitdiffhomepage
path: root/files/clever-set-domain.sh
blob: bf63be053399f61c5444a286a9809d23f9239f4f (plain) (blame)
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