summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
AgeCommit message (Collapse)Author
2017-07-23path add: do proper return code handlingNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@44872 c570f23f-e606-0410-a88d-b1316a301751
2017-07-23rework mkdirhier to distinguish on context what to returnNorbert Preining
in void context: die on error, otherwise return (old behaviour) in scalar context: return 1/0 on success/error in list context: return (1) or (0, errormessage) git-svn-id: svn://tug.org/texlive/trunk@44871 c570f23f-e606-0410-a88d-b1316a301751
2017-05-07(wsystem): report exit status in warning.Karl Berry
(setup_unix_one): quote '$def' in system() call, hoping to placate spaces in the path. Doc tweaks. git-svn-id: svn://tug.org/texlive/trunk@44243 c570f23f-e606-0410-a88d-b1316a301751
2017-05-06doc, copyright 2017Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@44232 c570f23f-e606-0410-a88d-b1316a301751
2017-05-04TLUtils::prepend_own_path adds TL bindir location to PATH, use in fmtutilNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@44190 c570f23f-e606-0410-a88d-b1316a301751
2017-05-02more visible warning messages, rewordingNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@44149 c570f23f-e606-0410-a88d-b1316a301751
2017-04-29fix long outstanding bug in tlmgr path that returned wrong return codesNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@44114 c570f23f-e606-0410-a88d-b1316a301751
2017-04-22Shortcut target missing: not an errorSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@43973 c570f23f-e606-0410-a88d-b1316a301751
2017-04-20try to support https, tooNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@43940 c570f23f-e606-0410-a88d-b1316a301751
2017-04-17(platform_desc): explicit macosx version numbers.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@43903 c570f23f-e606-0410-a88d-b1316a301751
2017-04-17fix comment: no support for Mac OS X older than 10.5Mojca Miklavec
git-svn-id: svn://tug.org/texlive/trunk@43888 c570f23f-e606-0410-a88d-b1316a301751
2017-04-16silence perl -warningsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@43850 c570f23f-e606-0410-a88d-b1316a301751
2017-04-16(platform_name): more and different mac binary sets.Karl Berry
(platform_desc) <darwin>: add "legacy" in all but the current. git-svn-id: svn://tug.org/texlive/trunk@43846 c570f23f-e606-0410-a88d-b1316a301751
2017-04-15user/sys mode for fmtutil and updmapNorbert Preining
add cmd line options -user require either -user or -sys move check/setup function to TLUtils.pm, reuse in both adjust documentation git-svn-id: svn://tug.org/texlive/trunk@43793 c570f23f-e606-0410-a88d-b1316a301751
2016-10-11convert some warnings to debugs in support functionsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@42254 c570f23f-e606-0410-a88d-b1316a301751
2016-07-03(push_uniq): use my with $reference, instead of local.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@41618 c570f23f-e606-0410-a88d-b1316a301751
2016-06-13doc, sync, msgsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@41437 c570f23f-e606-0410-a88d-b1316a301751
2016-05-16tmp file rewriteNorbert Preining
use one global tmp dir created with File::Temp and which will be auto-removed. ALl other temp files and dirs are created within this directory. git-svn-id: svn://tug.org/texlive/trunk@41175 c570f23f-e606-0410-a88d-b1316a301751
2016-05-15fix creating of missing download target dirNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@41144 c570f23f-e606-0410-a88d-b1316a301751
2016-05-15TLUtils::check_file: only check checksums if we can compute themNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@41143 c570f23f-e606-0410-a88d-b1316a301751
2016-05-14tempdir rework: use consistently tl_tmpdir/tmpfile for debuggingNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@41104 c570f23f-e606-0410-a88d-b1316a301751
2016-05-09tldie: use Tk::exit if gui is loadedNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40971 c570f23f-e606-0410-a88d-b1316a301751
2016-05-06TLUtils:_create_config_file: generate file even with no entriesNorbert Preining
If the last entry of a config file is removed we still need to recreate a config file. Example: Last package shipping a .map file is removed, then also this last entry from updmap.cfg needs to be removed. Thanks Ken Brown for pointing this out. git-svn-id: svn://tug.org/texlive/trunk@40922 c570f23f-e606-0410-a88d-b1316a301751
2016-05-06don't die in user moder on updmap.cfg write, make backupNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40911 c570f23f-e606-0410-a88d-b1316a301751
2016-05-05Revert "TLUtils: allow for creation of updmap.cfg in user mode"Norbert Preining
This reverts commit 32074f42aded930129c69fdb4ee4abc4154dbb5a. git-svn-id: svn://tug.org/texlive/trunk@40900 c570f23f-e606-0410-a88d-b1316a301751
2016-05-05TLUtils: allow for creation of updmap.cfg in user modeNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40894 c570f23f-e606-0410-a88d-b1316a301751
2016-04-30installer/TLUtils::install_packages: break out if installation failsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40814 c570f23f-e606-0410-a88d-b1316a301751
2016-04-21TLCrypto.pm: new module with all the functions using digests/gpg,Karl Berry
extracted from TLUtils.pm. TLUtils.pm: functions moved from here, change calls. TLConfig.pm: doc. TLPDB.pm, TLPOBJ.pm, install-tl, tlmgr.pl: use TLCrypto, change calls, doc. git-svn-id: svn://tug.org/texlive/trunk@40652 c570f23f-e606-0410-a88d-b1316a301751
2016-04-21setup_gpg: fix double quotation on loosedowsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40650 c570f23f-e606-0410-a88d-b1316a301751
2016-04-21setup_gpg: search for tlgpg for all archsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40647 c570f23f-e606-0410-a88d-b1316a301751
2016-04-21tlpdb: safe status of being verified, show status for each tlpdbNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40646 c570f23f-e606-0410-a88d-b1316a301751
2016-04-21verification reporting reworked: be non-intrusiveNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40640 c570f23f-e606-0410-a88d-b1316a301751
2016-04-20fix for spaces in names (gpg prg)Norbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40629 c570f23f-e606-0410-a88d-b1316a301751
2016-04-19doc,sync,consistencyKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@40622 c570f23f-e606-0410-a88d-b1316a301751
2016-04-18TLUtils.pm (setup_gpg): if the envvar is set, don't look for anything else.Karl Berry
tlmgr.pl (main): die if --verify-downloads and no gpg; only log if no gpg and only requested in config. git-svn-id: svn://tug.org/texlive/trunk@40601 c570f23f-e606-0410-a88d-b1316a301751
2016-04-18just check for ^MSWin, not 32|64; who knows what the future will bringKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@40600 c570f23f-e606-0410-a88d-b1316a301751
2016-04-18fix detection of texlive.gpg.win32 gpgNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40585 c570f23f-e606-0410-a88d-b1316a301751
2016-04-17Cleaner tl_abs_pathSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@40580 c570f23f-e606-0410-a88d-b1316a301751
2016-04-16try to support spaces in path on WindowsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40551 c570f23f-e606-0410-a88d-b1316a301751
2016-04-16test for TL_GNUPG, gpg, gpg2Norbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40550 c570f23f-e606-0410-a88d-b1316a301751
2016-04-15setup_gpg: win32: search for system gpgNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40532 c570f23f-e606-0410-a88d-b1316a301751
2016-04-15TLUtils.pm generate_config_file: break if headfile is missingNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40527 c570f23f-e606-0410-a88d-b1316a301751
2016-04-14(_create_config_files): newline at end of message.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@40511 c570f23f-e606-0410-a88d-b1316a301751
2016-04-14allow for Windows users to setup gpgNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40505 c570f23f-e606-0410-a88d-b1316a301751
2016-04-13(check_file): report info when checksums or sizes differ.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@40494 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12get rid of verify_download, fix verificationsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40460 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12TLUtils: verify_* reshufflingNorbert Preining
separate out verify_signature verify_download calls verify_checksum verify_checksum calls verify_signature git-svn-id: svn://tug.org/texlive/trunk@40459 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12switch consistently to sha512 for all checksums, sign installer and iso etcNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40455 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12make verify_* return values numeric with informal messagesNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40449 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12adjust gpg code to spaces in filenames and win32Norbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40447 c570f23f-e606-0410-a88d-b1316a301751