diff --git a/scripts/prt-auf b/scripts/prt-auf index 90e7b66..c3f121e 100755 --- a/scripts/prt-auf +++ b/scripts/prt-auf @@ -116,7 +116,7 @@ if (($action =~ /^(listinst|listorphans)/) my $cleandep = $depline; $cleandep =~ s/ .provided by .*// if ($action eq "deptree"); $dep = (split / /, $cleandep)[-1]; - next if (($seen{$dep}) and ($odepends{all}==0)); + next if ((! $dep) or (($seen{$dep}) and ($odepends{all}==0))); $seen{$dep}=1; if ($action ne "quickdep") { $ind = (grep { $_ eq $dep } @installed) ? "[i]" : "[ ]";