|
Lines 490-497
class Config:
Link Here
|
| 490 |
' when creating virtual files. <NOTE>: some pack' |
490 |
' when creating virtual files. <NOTE>: some pack' |
| 491 |
'ages will not work if you use this option') |
491 |
'ages will not work if you use this option') |
| 492 |
|
492 |
|
| 493 |
group.add_option('--cp', |
493 |
group.add_option('--copy', |
| 494 |
'--copy', |
|
|
| 495 |
action='store_true', |
494 |
action='store_true', |
| 496 |
help = 'Directly copy the webapp files from' |
495 |
help = 'Directly copy the webapp files from' |
| 497 |
' the /usr/share/webapps/ directory when installing' |
496 |
' the /usr/share/webapps/ directory when installing' |
|
Lines 999-1010
class Config:
Link Here
|
| 999 |
|
998 |
|
| 1000 |
self.config.set('USER', 'g_link_type', 'soft') |
999 |
self.config.set('USER', 'g_link_type', 'soft') |
| 1001 |
|
1000 |
|
| 1002 |
elif (self.config.has_option('USER', 'g_copy') and |
1001 |
elif ((self.config.has_option('USER', 'vhost_link_type') and |
| 1003 |
self.config.getboolean('USER', 'g_copy')): |
1002 |
self.config.get('USER', 'vhost_link_type') == 'copy') or |
|
|
1003 |
(self.config.has_option('USER', 'g_copy') and |
| 1004 |
self.config.getboolean('USER', 'g_copy'))): |
| 1004 |
|
1005 |
|
| 1005 |
OUT.debug('Selecting copying of links', 7) |
1006 |
OUT.debug('Selecting copying of links', 7) |
| 1006 |
|
1007 |
|
| 1007 |
self.config.set('USER', 'g_link_type', 'clone') |
1008 |
self.config.set('USER', 'g_link_type', 'copy') |
| 1008 |
|
1009 |
|
| 1009 |
else: |
1010 |
else: |
| 1010 |
|
1011 |
|
|
Lines 1488-1494
class Config:
Link Here
|
| 1488 |
'upgrade' : self.upgrading(), |
1489 |
'upgrade' : self.upgrading(), |
| 1489 |
'verbose' : self.verbose(), |
1490 |
'verbose' : self.verbose(), |
| 1490 |
'pretend' : self.pretend()} |
1491 |
'pretend' : self.pretend()} |
| 1491 |
|
|
|
| 1492 |
return allowed_servers[server](directories, |
1492 |
return allowed_servers[server](directories, |
| 1493 |
self.create_permissions(), |
1493 |
self.create_permissions(), |
| 1494 |
handlers, |
1494 |
handlers, |