Fix building for Android, enable tlmgr updates (#896)
* fix(os/unix): cannot find `SkipStep` while building for android ERROR: cannot find function, tuple struct or tuple variant `SkipStep` Disable updating gnome extensions for Android. Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com> * feat: enable `tlmgr` updates for android Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
This commit is contained in:
@@ -285,9 +285,9 @@ pub fn run_stack_update(run_type: RunType) -> Result<()> {
|
||||
|
||||
pub fn run_tlmgr_update(ctx: &ExecutionContext) -> Result<()> {
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(target_os = "linux")] {
|
||||
if #[cfg(any(target_os = "linux", target_os = "android"))] {
|
||||
if !ctx.config().enable_tlmgr_linux() {
|
||||
return Err(SkipStep(String::from("tlmgr must be explicity enabled in the configuration to run in Linux")).into());
|
||||
return Err(SkipStep(String::from("tlmgr must be explicity enabled in the configuration to run in Android/Linux")).into());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user