pkg build fix autodisable package

This commit is contained in:
2026-09-11 08:17:14 +03:00
parent 689526fb92
commit 42b7e6abd0
2 changed files with 7 additions and 3 deletions

View File

@ -53,9 +53,9 @@ pub fn build(repo: &String, pkgname: &String) {
hook(&pkg_dir);
if full_env.get("disable").is_some() {
link(repo, pkgname);
} else {
let _ = fs::File::create(pkg_dir.join("disabled"));
} else {
link(repo, pkgname);
}
}