Allow tlmgr to run in Linux (fix #406)

This commit is contained in:
Roey Darwish Dror
2020-06-03 22:12:27 +03:00
committed by GitHub
parent 89578a7fd9
commit 98657edb60
5 changed files with 27 additions and 17 deletions

View File

@@ -280,16 +280,7 @@ fn run() -> Result<()> {
}
if config.should_run(Step::Tlmgr) {
#[cfg(not(target_os = "linux"))]
runner.execute("tlmgr", || {
generic::run_tlmgr_update(
#[cfg(unix)]
&sudo,
#[cfg(windows)]
&None,
run_type,
)
})?;
runner.execute("tlmgr", || generic::run_tlmgr_update(&ctx))?;
}
if config.should_run(Step::Myrepos) {