Permalink
Browse files

- Remove packages before adding packages. This allows you to overwri…

…te packages with new / old versions.
  • Loading branch information...
1 parent fc36b28 commit 71c79245ff0b2d72d6a3d706f2efee00780aedfe @kamicane committed Sep 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 packager
View
@@ -137,8 +137,8 @@ switch ($command){
$pkg = new Packager($paths);
- foreach ($selected['add-packages'] as $package_path) $pkg->add_package($package_path);
foreach ($selected['remove-packages'] as $package_name) $pkg->remove_package($package_name);
+ foreach ($selected['add-packages'] as $package_path) $pkg->add_package($package_path);
$re = "/^([^\/]+)\/\*$/";
$wildcards = array();

0 comments on commit 71c7924

Please sign in to comment.