diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-12-25 12:52:08 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-12-25 12:52:08 -0200 |
commit | ceb9b184c6aa732abfe147eeb6b0fa811a252c00 (patch) | |
tree | b6a274608bae39f24bd46ec1f27b46a6f49b5edc /share/hydractl/trac-upgrade | |
parent | 99e51a54dae89d77e9bf30ab88fbf0a1a5a5c428 (diff) | |
download | hydra-ceb9b184c6aa732abfe147eeb6b0fa811a252c00.tar.gz hydra-ceb9b184c6aa732abfe147eeb6b0fa811a252c00.tar.bz2 |
Fixes at trac-upgrade and system-upgrade
Diffstat (limited to 'share/hydractl/trac-upgrade')
-rwxr-xr-x | share/hydractl/trac-upgrade | 5 |
1 files changed, 5 insertions, 0 deletions
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 ( |