Skip to content

Commit

Permalink
Pass --nocheck to makechrootpkg
Browse files Browse the repository at this point in the history
Fixes #1054
  • Loading branch information
Morganamilo committed Nov 16, 2024
1 parent 6527db3 commit c9c4a23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,9 @@ then initialise it with:
if !self.assume_installed.is_empty() && !self.chroot {
self.mflags.push("-d".to_string());
}
if self.no_check {
self.mflags.push("--nocheck".to_string());
}

if self.chroot {
remove_var("PKGEXT");
Expand Down
1 change: 0 additions & 1 deletion src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ pub fn flags(config: &mut Config) -> aur_depends::Flags {
}
if config.no_check {
flags.remove(Flags::CHECK_DEPENDS);
config.mflags.push("--nocheck".into());
}
if !config.mode.pkgbuild() {
flags &= !Flags::PKGBUILDS;
Expand Down

0 comments on commit c9c4a23

Please sign in to comment.