Browse Source

Now swim won't exit when a package is not installed, so that -qi or -ql works

without stopping.
master
freesource 23 years ago
parent
commit
bb7ee96ce4
  1. 2
      SWIM/Ag.pm
  2. 2
      SWIM/File.pm

2
SWIM/Ag.pm

@ -68,7 +68,7 @@ sub description {
}
else {
print "package $argument is not installed\n";
exit;
return "not installed";
}
}
untie %db;

2
SWIM/File.pm

@ -532,7 +532,7 @@ sub file {
if (defined $argument) {
if (!defined $db{"$argument"}) {
print "package $argument is not installed\n";
exit;
return "not installed";
}
}
nfile(\%commands);

Loading…
Cancel
Save