From ac9dbf97d63c852cd237c8c5a29d98f15ca1135a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 9 Nov 2010 08:33:14 +0000 Subject: fix persistent download setup in tlmgr -- thanks Adam! add some debugging to the persistent download routines git-svn-id: svn://tug.org/texlive/trunk@20379 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLDownload.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Master/tlpkg/TeXLive/TLDownload.pm') diff --git a/Master/tlpkg/TeXLive/TLDownload.pm b/Master/tlpkg/TeXLive/TLDownload.pm index 27370da4855..81c1bebb87a 100644 --- a/Master/tlpkg/TeXLive/TLDownload.pm +++ b/Master/tlpkg/TeXLive/TLDownload.pm @@ -59,24 +59,24 @@ sub new sub enabled { my $self = shift; - return $self{'enabled'}; + return $self->{'enabled'}; } sub disabled { my $self = shift; - return (!$self{'enabled'}); + return (!$self->{'enabled'}); } sub enable { my $self = shift; - $self{'enabled'} = 1; + $self->{'enabled'} = 1; # also reset the error conter $self->reset_errorcount; } sub disable { my $self = shift; - $self{'enabled'} = 0; + $self->{'enabled'} = 0; } sub errorcount { -- cgit v1.2.3