From ceb9b184c6aa732abfe147eeb6b0fa811a252c00 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 25 Dec 2013 12:52:08 -0200 Subject: Fixes at trac-upgrade and system-upgrade --- share/hydractl/trac-upgrade | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'share/hydractl/trac-upgrade') diff --git a/share/hydractl/trac-upgrade b/share/hydractl/trac-upgrade index 06a6a69..31e8f52 100755 --- a/share/hydractl/trac-upgrade +++ b/share/hydractl/trac-upgrade @@ -23,6 +23,11 @@ hydra_config_load # Parameters BASE="/var/sites" +# Check for sites +if [ ! -d "$BASE" ]; then + exit +fi + # Upgrade for instance in `find $BASE -maxdepth 2 -name trac`; do ( -- cgit v1.2.3