@@ 1047-1049 (lines=3) @@ | ||
1044 | run_cmd($cmd); |
|
1045 | continue 2; |
|
1046 | case 'tar.bz2': |
|
1047 | case 'tar.gz': |
|
1048 | $cmd = $config['tar'].' --owner=root --group=root -c'.$tar_type.'f '.$file.$exclude_extra.' egroupware'; |
|
1049 | break; |
|
1050 | case 'zip': |
|
1051 | $cmd = file_exists($file) ? $config['rm'].' -f '.$file.'; ' : ''; |
|
1052 | $cmd .= $config['mv'].' egroupware/'.implode(' egroupware/', $exclude).' . ;'; |
|
@@ 1070-1072 (lines=3) @@ | ||
1067 | case 'all.tar.bz2': |
|
1068 | break; // nothing to do |
|
1069 | case 'tar.bz2': |
|
1070 | case 'tar.gz': |
|
1071 | $cmd = $config['tar'].' --owner=root --group=root -c'.$tar_type.'f '.$file.$dirs; |
|
1072 | break; |
|
1073 | case 'zip': |
|
1074 | $cmd = file_exists($file) ? $config['rm'].' -f '.$file.'; ' : ''; |
|
1075 | $cmd .= $config['zip'].' -q -r -9 '.$file.$dirs; |