diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-12-24 20:30:58 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-12-24 20:30:58 -0200 |
commit | 37c02fa955615afe2dfc932402c939274879bcd8 (patch) | |
tree | 65354bafcdc7fd6ddbf2c6ca01b6f79014f7e52a /share/hydractl | |
parent | 1ce78e4318fdc11fe81b504899d400670ab9f790 (diff) | |
download | hydra-37c02fa955615afe2dfc932402c939274879bcd8.tar.gz hydra-37c02fa955615afe2dfc932402c939274879bcd8.tar.bz2 |
Run trac-upgrade during system-upgrade
Diffstat (limited to 'share/hydractl')
-rwxr-xr-x | share/hydractl/system-upgrade | 1 | ||||
-rwxr-xr-x | share/hydractl/trac-upgrade | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade index b161a11..fdfaceb 100755 --- a/share/hydractl/system-upgrade +++ b/share/hydractl/system-upgrade @@ -147,6 +147,7 @@ if [ "$STAGE" == "custom" ]; then fi fi + hydractl trac-upgrade hydra_system_upgrade_stage puppet fi diff --git a/share/hydractl/trac-upgrade b/share/hydractl/trac-upgrade index 89c1e3d..06a6a69 100755 --- a/share/hydractl/trac-upgrade +++ b/share/hydractl/trac-upgrade @@ -26,6 +26,7 @@ BASE="/var/sites" # Upgrade for instance in `find $BASE -maxdepth 2 -name trac`; do ( + echo "Upgrading trac instance $instance..." cd $instance trac-admin . upgrade trac-admin . wiki upgrade |