mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Corrected return code of system check.
* Corrected logic error in relocatable rpm handling that was making
converting such rpms not work. (Closes: #71155)
This commit is contained in:
@@ -293,8 +293,8 @@ sub DESTROY {
|
||||
if ($this->unpacked_tree eq '/') {
|
||||
die "alien internal error: unpacked_tree is set to `/'. Please file a bug report!";
|
||||
}
|
||||
system ('rm', '-rf', $this->unpacked_tree) &&
|
||||
die "unable to delete temporary directory `".$this->unpacked_tree."`: $!";
|
||||
system('rm', '-rf', $this->unpacked_tree) == 0
|
||||
or die "unable to delete temporary directory `".$this->unpacked_tree."`: $!";
|
||||
$this->unpacked_tree('');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user