ktec-subtrac 0.1.38 → 0.1.39
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/subtrac.rb +5 -10
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/subtrac.rb
CHANGED
@@ -277,15 +277,7 @@ module Subtrac
|
|
277
277
|
configure_admin_user()
|
278
278
|
|
279
279
|
# create default project
|
280
|
-
|
281
|
-
# get these out for binding...we'll tidy up later
|
282
|
-
client = project.client
|
283
|
-
|
284
|
-
# create the apache configuration
|
285
|
-
apache.create_project(project)
|
286
|
-
|
287
|
-
# fix privileges
|
288
|
-
give_apache_privileges()
|
280
|
+
create_project(default_project,default_client)
|
289
281
|
|
290
282
|
# store any user preferences for later use
|
291
283
|
save_config()
|
@@ -307,10 +299,13 @@ module Subtrac
|
|
307
299
|
# create the trac site
|
308
300
|
trac = Trac.new(trac_dir, binding)
|
309
301
|
trac.create_project(project)
|
302
|
+
|
303
|
+
# create the apache configuration
|
304
|
+
apache.create_project(project)
|
310
305
|
|
311
306
|
# fix privileges
|
312
307
|
give_apache_privileges()
|
313
|
-
|
308
|
+
|
314
309
|
# return the project
|
315
310
|
project
|
316
311
|
|