summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2012-04-19 05:51:43 +0000
committerNorbert Preining <preining@logic.at>2012-04-19 05:51:43 +0000
commit89d0b0cc0acc3293053af428af79097c7adf71e1 (patch)
treefca770a26c12d06976228360df2f8ae95b77be34 /Master/texmf
parentb8c0e2624460f1595952e4427331fd2643066071 (diff)
tlmgr install --file /path/to/some/file.tar.xz
tlmgr install --file http://some.url/path/file.tar.xz git-svn-id: svn://tug.org/texlive/trunk@26036 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rw-r--r--Master/texmf/scripts/texlive/NEWS1
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl7
2 files changed, 8 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/NEWS b/Master/texmf/scripts/texlive/NEWS
index 5012f4e0908..dbbc498dc31 100644
--- a/Master/texmf/scripts/texlive/NEWS
+++ b/Master/texmf/scripts/texlive/NEWS
@@ -3,6 +3,7 @@ Karl Berry, 2010-2012.)
<p><b>tlmgr revision NEXT (released 12monDD):</b><br>
<li>multiple repository support
+<li>tlmgr can now install a package from a file
<p><b>tlmgr revision 24419 (released 12nov01):</b><br>
<li>support addKanjiMap execute
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index d5ddab04825..35930655bd7 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -149,6 +149,7 @@ sub main {
"gui" => { "load" => 1 },
"install" => { "no-depends" => 1,
"no-depends-at-all" => 1,
+ "file" => 1,
"reinstall" => 1,
"force" => 1,
"dry-run|n" => 1 },
@@ -3253,6 +3254,12 @@ sub action_install {
}
}
+ #
+ # installation from a .tar.xz
+ if ($opts{"file"}) {
+ return $localtlpdb->install_package_files(@ARGV);
+ }
+
$opts{"no-depends"} = 1 if $opts{"no-depends-at-all"};
info("install: dry run, no changes will be made\n") if $opts{"dry-run"};