From e58c649c2a37dd24399a01b5469ad17b30853081 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Wed, 31 Aug 2016 00:24:46 +0200 Subject: sboremove: be explicit that it's for SlackBuilds.org packages This closes #44. --- sboremove | 2 +- t/06-remove.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sboremove b/sboremove index bc42dfe..154b63f 100755 --- a/sboremove +++ b/sboremove @@ -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 }; -- cgit v1.2.3