summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-27 23:47:55 +0000
committerKarl Berry <karl@freefriends.org>2010-09-27 23:47:55 +0000
commit6c4847859aadba4add0c15b6e430fc7e7a035862 (patch)
treef83ac4427635061f453991eec92d3ddde2eeaa14 /Master/texmf
parent19b673bcbee6071004a25ead706b82caf7f20a0e (diff)
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
Diffstat (limited to 'Master/texmf')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl17
1 files changed, 8 insertions, 9 deletions
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");
}
}