Changeset d00300 in indico
- Timestamp:
- 12/14/09 17:54:10 (3 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, new-webex, prov-dual-interface, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
- Children:
- ba8ee1
- Parents:
- 327936
- git-author:
- Pedro Ferreira <jose.pedro.ferreira@…> (12/14/09 16:44:24)
- git-committer:
- Pedro Ferreira <jose.pedro.ferreira@…> (12/14/09 17:54:10)
- Files:
-
- 2 edited
-
indico/MaKaC/consoleScripts/installBase.py (modified) (4 diffs)
-
setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/consoleScripts/installBase.py
r327936 rd00300 67 67 def createDirs(directories): 68 68 '''Creates directories that are not automatically created by setup.install or easy_install''' 69 for d in ['log', 'tmp', 'cache' ]:69 for d in ['log', 'tmp', 'cache', 'archive']: 70 70 if not os.path.exists(directories[d]): 71 71 os.makedirs(directories[d]) … … 297 297 print "\nWe need to 'sudo' in order to set the permissions of some directories..." 298 298 299 dirs2check = list(directories[x] for x in ['htdocs', 'log', 'tmp', 'cache' ])299 dirs2check = list(directories[x] for x in ['htdocs', 'log', 'tmp', 'cache', 'archive']) 300 300 if dbInstalledBySetupPy: 301 301 dirs2check.append(dbInstalledBySetupPy) … … 343 343 'log': values['LogDir'], 344 344 'cache': values['XMLCacheDir'], 345 'archive': values['ArchiveDir'], 345 346 'db': LOCALDATABASEDIR} 346 347 … … 470 471 471 472 return dict((dirName, os.path.join(prefixDir, dirName)) 472 for dirName in ['bin','doc','etc','htdocs','tmp','log','cache','db' ])473 for dirName in ['bin','doc','etc','htdocs','tmp','log','cache','db','archive']) 473 474 474 475 -
setup.py
r327936 rd00300 257 257 258 258 directories = dict((d,os.path.join(prefixDir, d)) for d in 259 ['db', 'log', 'tmp', 'cache' ])259 ['db', 'log', 'tmp', 'cache', 'archive']) 260 260 261 261 print 'Creating directories...',
Note: See TracChangeset
for help on using the changeset viewer.
