Code Duplication    Length = 3-3 lines in 2 locations

doc/rpm-build/checkout-build-archives.php 2 locations

@@ 949-951 (lines=3) @@
946
				run_cmd($cmd);
947
				continue 2;
948
			case 'tar.bz2':
949
			case 'tar.gz':
950
				$cmd = $config['tar'].' --owner=root --group=root -c'.$tar_type.'f '.$file.$exclude_extra.' egroupware';
951
				break;
952
			case 'zip':
953
				$cmd = file_exists($file) ? $config['rm'].' -f '.$file.'; ' : '';
954
				$cmd .= $config['mv'].' egroupware/'.implode(' egroupware/', $exclude).' . ;';
@@ 972-974 (lines=3) @@
969
				case 'all.tar.bz2':
970
					break;	// nothing to do
971
				case 'tar.bz2':
972
				case 'tar.gz':
973
					$cmd = $config['tar'].' --owner=root --group=root -c'.$tar_type.'f '.$file.$dirs;
974
					break;
975
				case 'zip':
976
					$cmd = file_exists($file) ? $config['rm'].' -f '.$file.'; ' : '';
977
					$cmd .= $config['zip'].' -q -r -9 '.$file.$dirs;