Skip to content

Commit

Permalink
support clean_install on system installs also
Browse files Browse the repository at this point in the history
This ensures a share install files from
a previous install are cleaned up.
  • Loading branch information
shawnlaffan committed Oct 29, 2024
1 parent b0557fa commit 9e954e8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/Alien/Build.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1973,17 +1973,12 @@ Clean files from the final install location. The default implementation removes
files recursively except for the C<_alien> directory. This is helpful when you have
an old install with files that may break the new build.
For a non-share install this doesn't do anything.
=cut

sub clean_install
{
my($self) = @_;
if($self->install_type eq 'share')
{
$self->_call_hook("clean_install");
}
$self->_call_hook("clean_install");
}

=head2 system
Expand Down

0 comments on commit 9e954e8

Please sign in to comment.