lots of cleanup

This commit is contained in:
Jeff Lindsay
2013-06-10 01:02:57 -07:00
parent e8a134a945
commit 08575f5603
6 changed files with 31 additions and 42 deletions

View File

@@ -1,9 +1,7 @@
#!/bin/bash
APP="$1"; CONTAINER="$2"
if [[ -f "$HOME/DOMAIN" ]]; then
DOMAIN=$(< "$HOME/DOMAIN")
fi
[[ -f "$HOME/DOMAIN" ]] && DOMAIN=$(< "$HOME/DOMAIN")
if [[ ! -f "$HOME/$APP/PORT" ]]; then
# First deploy