diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-08-31 00:24:46 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-08-31 00:24:55 +0200 |
commit | e58c649c2a37dd24399a01b5469ad17b30853081 (patch) | |
tree | 17819ee91244541a70a6388ff95c6a56070c18da | |
parent | dede08ddd30eb0c8500bace9d9ee2750b32802ee (diff) | |
download | sbotools2-e58c649c2a37dd24399a01b5469ad17b30853081.tar.xz |
sboremove: be explicit that it's for SlackBuilds.org packages
This closes #44.
-rwxr-xr-x | sboremove | 2 | ||||
-rwxr-xr-x | t/06-remove.t | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -59,7 +59,7 @@ $inst_names{$_} = 1 for @$inst_names; for my $sbo (@ARGV) { if (get_sbo_location($sbo)) { $inst_names{$sbo} ? push @sbos, $sbo - : say "$sbo is not installed"; + : say "$sbo is not installed from SlackBuilds.org."; } else { say "Unable to locate $sbo in the SlackBuilds.org tree." } diff --git a/t/06-remove.t b/t/06-remove.t index 34ab891..555582f 100755 --- a/t/06-remove.t +++ b/t/06-remove.t @@ -65,7 +65,7 @@ sboremove qw/ nonexistentslackbuild4 nonexistentslackbuild5 /, { input => "y\ny\ # 5: sboremove namethatdoesntexist slackbuildthatisntinstalld sboremove qw/ nonexistentslackbuildwhosenamedoesntexist nonexistentslackbuild /, - { exit => 1, expected => "Unable to locate nonexistentslackbuildwhosenamedoesntexist in the SlackBuilds.org tree.\nnonexistentslackbuild is not installed\n" }; + { exit => 1, expected => "Unable to locate nonexistentslackbuildwhosenamedoesntexist in the SlackBuilds.org tree.\nnonexistentslackbuild is not installed from SlackBuilds.org.\n" }; # 6-7: sboremove nonexistentslackbuild [x2] and say no sboinstall 'nonexistentslackbuild', { input => "y\ny", test => 0 }; |