From 3677caab0fc712475086bfd7e02475910f502f07 Mon Sep 17 00:00:00 2001 From: Anon Ray Date: Thu, 23 May 2013 20:54:12 +0530 Subject: [PATCH] Add trac upgrade statement The Trac Environment needs to be upgraded after adding a new config. Adding the statement to do the same. --- new_project.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/new_project.sh b/new_project.sh index 379e8f7..a06b160 100755 --- a/new_project.sh +++ b/new_project.sh @@ -74,6 +74,9 @@ writeTracConfig() { newconfig=$oldconfig $(sed -i "s/^name =$/name = $name/" $newconfig) $(sed -i "s/^database =$/database = $db/" $newconfig) + + # The Trac Environment needs to be upgraded. + /usr/local/bin/trac-admin $trac_project$project upgrade } usage() { -- 1.7.10.4