Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix uninstall
  • Loading branch information
ugexe committed Feb 16, 2016
1 parent 4cd2875 commit 73114b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/CompUnit/Repository/Installation.pm
Expand Up @@ -219,10 +219,10 @@ sub MAIN(:$name is copy, :$auth, :$ver, *@, *%) {
my $short-dir = self.prefix.child('short');
my $dist-dir = self.prefix.child('dist');

$short-dir.child(nqp::sha1($_)).unlink for %files.grep: {$_.key ~~ /^bin\//};
$short-dir.child(nqp::sha1($_.value)).unlink for %files.grep: {$_.key ~~ /^bin\//};
$short-dir.child(nqp::sha1($_)).unlink for %provides.keys;
$short-dir.child(nqp::sha1($dist.name)).unlink;
$sources-dir.child($_<file>).unlink for %provides.values.map(*.values.Slip);
$sources-dir.child($_).unlink for %provides.map(*.value<pm><file>);
$resources-dir.child($_).unlink for %files.values;
$dist-dir.child($dist.id).unlink;
}
Expand Down

0 comments on commit 73114b5

Please sign in to comment.