commit 594de5067ef8922f1125c948747490550a30a7d9
parent 8fc7b067e8585a43c0b47d8580232d00072016ef
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Mon, 2 May 2016 15:40:05 +0200
sboremove: don't check a ref if it's truthy, check the hash that's actually being used
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sboremove b/sboremove
@@ -116,7 +116,7 @@ sub confirm_remove {
# Check if packages in queue are actually installed on system
my @temp;
-if ($inst_names) {
+if (%inst_names) {
for my $sbo (@$remove_queue) {
push @temp, $sbo if $inst_names{$sbo};
}