Skip to content

Commit 6af6674

Browse files
committed
Fix provider menu from showing on interactive install
1 parent 688d26f commit 6af6674

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resolver.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::config::{Alpm, Config, LocalRepos, Op, YesNoAll, YesNoAllTree};
1+
use crate::config::{Alpm, Config, LocalRepos, YesNoAll, YesNoAllTree};
22
use crate::fmt::color_repo;
33
use crate::util::{get_provider, NumberMenu};
44
use crate::RaurHandle;
@@ -48,7 +48,7 @@ pub fn flags(config: &mut Config) -> aur_depends::Flags {
4848
),
4949
YesNoAll::All => flags |= Flags::PROVIDES,
5050
}
51-
if config.op == Op::Default {
51+
if config.interactive {
5252
flags.remove(Flags::TARGET_PROVIDES);
5353
}
5454
if config.repos != LocalRepos::None || config.rebuild == YesNoAllTree::Tree || config.chroot {

0 commit comments

Comments
 (0)