Skip to content

Commit c9c4a23

Browse files
committed
Pass --nocheck to makechrootpkg
Fixes #1054
1 parent 6527db3 commit c9c4a23

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/config.rs

+3
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,9 @@ then initialise it with:
829829
if !self.assume_installed.is_empty() && !self.chroot {
830830
self.mflags.push("-d".to_string());
831831
}
832+
if self.no_check {
833+
self.mflags.push("--nocheck".to_string());
834+
}
832835

833836
if self.chroot {
834837
remove_var("PKGEXT");

src/resolver.rs

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ pub fn flags(config: &mut Config) -> aur_depends::Flags {
2727
}
2828
if config.no_check {
2929
flags.remove(Flags::CHECK_DEPENDS);
30-
config.mflags.push("--nocheck".into());
3130
}
3231
if !config.mode.pkgbuild() {
3332
flags &= !Flags::PKGBUILDS;

0 commit comments

Comments
 (0)