aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-08-31 00:24:46 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-08-31 00:24:55 +0200
commite58c649c2a37dd24399a01b5469ad17b30853081 (patch)
tree17819ee91244541a70a6388ff95c6a56070c18da
parentdede08ddd30eb0c8500bace9d9ee2750b32802ee (diff)
downloadsbotools2-e58c649c2a37dd24399a01b5469ad17b30853081.tar.xz
sboremove: be explicit that it's for SlackBuilds.org packages
This closes #44.
-rwxr-xr-xsboremove2
-rwxr-xr-xt/06-remove.t2
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 };