|
Lines 486-495
Link Here
|
| 486 |
|
486 |
|
| 487 |
group.add_option('--soft', |
487 |
group.add_option('--soft', |
| 488 |
action='store_true', |
488 |
action='store_true', |
| 489 |
help = 'Use symbolic links instead of hard links' |
489 |
help = 'Use symbolic links instead of hard links' |
| 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('--copy', |
| 494 |
'--co', |
| 495 |
action='store_true', |
| 496 |
help = 'Directly copy the webapp files from' |
| 497 |
' the /usr/share/webapps/ directory when installing' |
| 498 |
' the webapp.') |
| 499 |
|
| 493 |
group.add_option('--virtual-files', |
500 |
group.add_option('--virtual-files', |
| 494 |
'--vf', |
501 |
'--vf', |
| 495 |
type = 'choice', |
502 |
type = 'choice', |
|
Lines 845-852
Link Here
|
| 845 |
'user' : 'vhost_config_uid', |
852 |
'user' : 'vhost_config_uid', |
| 846 |
'group' : 'vhost_config_gid', |
853 |
'group' : 'vhost_config_gid', |
| 847 |
'soft' : 'g_soft', |
854 |
'soft' : 'g_soft', |
| 848 |
'virtual_files': 'vhost_config_virtual_files', |
855 |
'copy' : 'g_copy', |
| 849 |
'default_dirs' : 'vhost_config_default_dirs', |
856 |
'virtual_files': 'vhost_config_virtual_file', |
|
|
857 |
'default_dirs' : 'vhost_config_default_dirs', |
| 850 |
'pretend' : 'g_pretend', |
858 |
'pretend' : 'g_pretend', |
| 851 |
'verbose' : 'g_verbose', |
859 |
'verbose' : 'g_verbose', |
| 852 |
'bug_report' : 'g_bugreport'} |
860 |
'bug_report' : 'g_bugreport'} |
|
Lines 990-995
Link Here
|
| 990 |
OUT.debug('Selecting soft links' , 7) |
998 |
OUT.debug('Selecting soft links' , 7) |
| 991 |
|
999 |
|
| 992 |
self.config.set('USER', 'g_link_type', 'soft') |
1000 |
self.config.set('USER', 'g_link_type', 'soft') |
|
|
1001 |
|
| 1002 |
elif (self.config.has_option('USER', 'g_copy') and |
| 1003 |
self.config.getboolean('USER', 'g_copy')): |
| 1004 |
|
| 1005 |
OUT.debug('Selecting copying of links', 7) |
| 1006 |
|
| 1007 |
self.config.set('USER', 'g_link_type', 'clone') |
| 993 |
else: |
1008 |
else: |
| 994 |
|
1009 |
|
| 995 |
OUT.debug('Selecting hard links' , 7) |
1010 |
OUT.debug('Selecting hard links' , 7) |