Allow tlmgr to run in Linux (fix #406)
This commit is contained in:
committed by
GitHub
parent
89578a7fd9
commit
98657edb60
11
src/main.rs
11
src/main.rs
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user