Cache go when installing yay (#57)

Added common issues to README.md
This commit is contained in:
James McMurray
2020-07-30 07:19:18 +02:00
committed by Philip Mueller
parent f8bb291db4
commit 38e2cfbf5b
4 changed files with 87 additions and 54 deletions

View File

@@ -9,4 +9,5 @@ SystemMaxUse=16M
pub const BASE_PACKAGES: [&str; 1] = ["base"];
pub const AUR_DEPENDENCIES: [&str; 3] = ["base-devel", "git", "sudo"];
// we add go so that it is cached when installing yay
pub const AUR_DEPENDENCIES: [&str; 4] = ["base-devel", "git", "sudo", "go"];

View File

@@ -387,7 +387,7 @@ fn create(command: args::CreateCommand) -> anyhow::Result<()> {
),
)
.run()
.context("Failed running preset script")?;
.with_context(|| format!("Failed running preset script:\n{}", script.script_text))?;
}
info!("Performing post installation tasks");