sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit e58c649c2a37dd24399a01b5469ad17b30853081
parent dede08ddd30eb0c8500bace9d9ee2750b32802ee
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Wed, 31 Aug 2016 00:24:46 +0200

sboremove: be explicit that it's for SlackBuilds.org packages

This closes #44.

Diffstat:
Msboremove | 2+-
Mt/06-remove.t | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 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 @@ -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 };