aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/Lib.pm
diff options
context:
space:
mode:
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index 94d8ef6..b244c3d 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -217,12 +217,9 @@ sub get_installed_packages($) {
$sbo =~ s/-compat32//g if $name =~ /-compat32$/;
$type = 'SBO' if get_sbo_location($sbo);
}
- if ($filter) {
- if ($filter eq $type or $filter eq 'ALL') {
- push @installed, {name => $name, version => $version};
- }
+ if ($filter eq $type or $filter eq 'ALL') {
+ push @installed, {name => $name, version => $version};
}
-
}
return \@installed;
}