Commit 3677caab0fc712475086bfd7e02475910f502f07
Add trac upgrade statement
The Trac Environment needs to be upgraded after adding a new config. Adding
the statement to do the same.
| | | | 74 | newconfig=$oldconfig | 74 | newconfig=$oldconfig |
---|
75 | $(sed -i "s/^name =$/name = $name/" $newconfig) | 75 | $(sed -i "s/^name =$/name = $name/" $newconfig) |
---|
76 | $(sed -i "s/^database =$/database = $db/" $newconfig) | 76 | $(sed -i "s/^database =$/database = $db/" $newconfig) |
---|
| | 77 | |
---|
| | 78 | # The Trac Environment needs to be upgraded. |
---|
| | 79 | /usr/local/bin/trac-admin $trac_project$project upgrade |
---|
77 | } | 80 | } |
---|
78 | | 81 | |
---|
79 | usage() { | 82 | usage() { |
---|