From 6c4847859aadba4add0c15b6e430fc7e7a035862 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 27 Sep 2010 23:47:55 +0000 Subject: undo change for not loading remote db, makes tlmgr update --list fail (and others?). git-svn-id: svn://tug.org/texlive/trunk@19923 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/tlmgr.pl | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'Master') diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 084aec528be..5a3848ba8e0 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -1660,9 +1660,7 @@ EOF # UPDATE -# -# # compute the list of auto-install, auto-remove, forcibly-removed # packages from the list of packages to be installed # the list of packages passed in is already expanded @@ -1815,12 +1813,13 @@ sub action_update { $opts{"no-depends"} = 1 if $opts{"no-depends-at-all"}; # make a quick check on command line arguments to avoid loading - # the remote db uselessly - if (!(@ARGV || $opts{"all"} || $opts{"self"})) { - tlwarn("tlmgr update: please specify a list of packages, --all or --self.\n"); - return; - } - + # the remote db uselessly. + # [no; --list, at least, needs to be accepted. but don't other + # options also require the remote db? just recommenting for now.] +# if (!(@ARGV || $opts{"all"} || $opts{"self"})) { +# tlwarn("tlmgr update: please specify a list of packages, --all, or --self.\n"); +# return; +# } init_tlmedia(); info("update: dry run, no changes will be made\n") if $opts{"dry-run"}; @@ -1949,7 +1948,7 @@ sub action_update { if ($opts{"self"}) { info("tlmgr: no updates for tlmgr present.\n"); } else { - tlwarn("tlmgr update: please specify a list of packages, --all or --self.\n"); + tlwarn("tlmgr update: please specify a list of packages, --all, or --self.\n"); } } -- cgit v1.2.3