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') == 'soft') 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 |
|