change the location of repo

This commit is contained in:
Kuoi 2022-05-28 14:53:05 +01:00 committed by GitHub
parent 13a724ba4a
commit 89ce082591
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ struct LogsResponse {
#[cached(time = 86400, result = true)]
fn get_maintainer(pkg: String) -> Result<String> {
let contents = std::fs::read_to_string(format!(
"/home/bio/Packages/BioArchLinux/{}/lilac.yaml",
"/usr/share/lilac/Packages/BioArchLinux/{}/lilac.yaml",
pkg
))?;
let docs = YamlLoader::load_from_str(&contents)?;