Skip to content

Commit

Permalink
Fix compilation on Android (#166)
Browse files Browse the repository at this point in the history
Co-authored-by: guihkx <guihkx@users.noreply.github.com>
  • Loading branch information
guihkx and guihkx authored Nov 11, 2022
1 parent 5208af5 commit d771852
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/steps/os/android.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use crate::execution_context::ExecutionContext;
use crate::terminal::print_separator;
use crate::utils::require;
use crate::utils::which;
use crate::Step;
use color_eyre::eyre::Result;

Expand All @@ -10,7 +11,7 @@ pub fn upgrade_packages(ctx: &ExecutionContext) -> Result<()> {

print_separator("Termux Packages");

let is_nala = pkg.end_with("nala");
let is_nala = pkg.ends_with("nala");

let mut command = ctx.run_type().execute(&pkg);
command.arg("upgrade");
Expand Down

0 comments on commit d771852

Please sign in to comment.