readme add

This commit is contained in:
pivodevat
2025-09-02 21:23:01 +03:00
parent 968216f5f2
commit cce69cabb2
3 changed files with 29 additions and 1 deletions

View File

@ -35,7 +35,7 @@ pub fn install(repo: &String, pkgname: &String) -> Result<(), bool> {
hook(&repo, &pkgname);
config(&src_dir, &pkg_md_path)?;
let src_remove_flag = match std::env::var("pkg_src_remove") {
let src_remove_flag = match std::env::var("src_remove") {
Ok(value) => value != "false",
Err(_) => true,
};