summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2013-08-06 01:50:48 +0000
committerNorbert Preining <preining@logic.at>2013-08-06 01:50:48 +0000
commit34f0ce7203836a8959ceb4ebd1e3842832cdb1d7 (patch)
tree95b9ed8d99421bb4a93914e1575c49ec8f7e69f2 /Master/texmf-dist/scripts
parentcba28828bc05b30a10e4d098f57e92c3356bf965 (diff)
fix for installation from file
git-svn-id: svn://tug.org/texlive/trunk@31361 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl13
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index 3f334b1cc1a..b034f93c39d 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -3370,6 +3370,14 @@ END_DISK_WARN
sub action_install {
init_local_db(1);
return if !check_on_writable();
+
+ #
+ # installation from a .tar.xz
+ if ($opts{"file"}) {
+ return $localtlpdb->install_package_files(@ARGV);
+ }
+
+ # if we are still here, we are installing from some repository
# initialize the TLPDB from $location
$opts{"no-depends"} = 1 if $opts{"no-depends-at-all"};
init_tlmedia_or_die();
@@ -3391,11 +3399,6 @@ 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"};