mirror of
https://github.com/fspc/dswim.git
synced 2025-02-22 00:23:28 -05:00
Now swim won't exit when a package is not installed, so that -qi or -ql works
without stopping.
This commit is contained in:
parent
cd139b15eb
commit
bb7ee96ce4
@ -68,7 +68,7 @@ sub description {
|
||||
}
|
||||
else {
|
||||
print "package $argument is not installed\n";
|
||||
exit;
|
||||
return "not installed";
|
||||
}
|
||||
}
|
||||
untie %db;
|
||||
|
@ -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…
x
Reference in New Issue
Block a user