Changeset 2732
- Timestamp:
- 01/21/06 13:11:15 (3 years ago)
- Files:
-
- trunk/support/checkManifest.php (added)
- trunk/support/findComponents.sh (added)
- trunk/support/pear-package.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/support/pear-package.php
r2731 r2732 249 249 continue; 250 250 } 251 252 251 // Handle packaging file roles 253 252 $role = 'php'; … … 258 257 $role = 'mgdschema'; 259 258 } 259 260 261 $path_parts = pathinfo($entry); 262 263 switch ($path_parts['extension'] ) 264 { 265 // binary formats 266 case 'jpg': 267 case 'gif': 268 case 'png': 269 case 'zip': 270 case 'tgz': 271 272 $role = 'data'; 273 break; 274 275 case 'html': 276 case 'js': 277 case 'htc': 278 case 'css': 279 case 'txt': 280 $role = 'data'; 281 break; 282 283 } 284 260 285 261 286 if (is_dir("{$directory_path}/{$entry}"))
