summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index 834920a8a48..e6726a7a6f8 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -2073,20 +2073,20 @@ sub _install_data {
=item << $tlpdb->remove_package($pkg, %options) >>
-removes a single package with all the files and the entry in the db.
+Removes a single package with all the files and the entry in the db;
+warns if the package does not exist.
=cut
-#
# remove_package removes a single package with all files (including the
-# # tlpobj files) and the entry from the tlpdb.
+# tlpobj files) and the entry from the tlpdb.
sub remove_package {
my ($self, $pkg, %opts) = @_;
my $localtlpdb = $self;
my $tlp = $localtlpdb->get_package($pkg);
my $usertree = $localtlpdb->setting("usertree");
if (!defined($tlp)) {
- tlwarn ("TLPDB: package not present, cannot remove: $pkg\n");
+ tlwarn ("TLPDB: package not present, so not removing: $pkg\n");
} else {
my $currentarch = $self->platform();
if ($pkg eq "texlive.infra" || $pkg eq "texlive.infra.$currentarch") {