[aur] set '--answerdiff=None' for yay

This commit is contained in:
Philip Mueller 2023-06-23 14:05:16 +02:00
parent 7510cce532
commit b3629c3120
2 changed files with 4 additions and 2 deletions

View File

@ -44,6 +44,8 @@ impl FromStr for AurHelper {
String::from("--useask"),
String::from("--removemake"),
String::from("--norebuild"),
String::from("--answerdiff"),
String::from("None"),
String::from("--answeredit"),
String::from("None"),
String::from("--answerclean"),

View File

@ -227,7 +227,7 @@ fn create(command: args::CreateCommand) -> anyhow::Result<()> {
packages.extend(presets.packages);
let aur_pacakges = {
let aur_packages = {
let mut p = vec![String::from("shim-signed")];
p.extend(presets.aur_packages);
p.extend(command.aur_packages);
@ -339,7 +339,7 @@ fn create(command: args::CreateCommand) -> anyhow::Result<()> {
.arg(mount_point.path())
.args(["sudo", "-u", "aur"])
.args(command.aur_helper.install_command)
.args(aur_pacakges)
.args(aur_packages)
.run()
.context("Failed to install AUR packages")?;