summaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-24 20:30:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-24 20:30:58 -0200
commit37c02fa955615afe2dfc932402c939274879bcd8 (patch)
tree65354bafcdc7fd6ddbf2c6ca01b6f79014f7e52a /share/hydractl
parent1ce78e4318fdc11fe81b504899d400670ab9f790 (diff)
downloadhydra-37c02fa955615afe2dfc932402c939274879bcd8.tar.gz
hydra-37c02fa955615afe2dfc932402c939274879bcd8.tar.bz2
Run trac-upgrade during system-upgrade
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/system-upgrade1
-rwxr-xr-xshare/hydractl/trac-upgrade1
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