This commit is contained in:
pivodevat
2025-08-08 00:00:14 +03:00
parent e90430f52c
commit 19d3481f8a
17 changed files with 726 additions and 170 deletions

View File

@ -4,7 +4,6 @@ use std::path::Path;
use rayon::prelude::*;
use std::os::unix::fs::MetadataExt;
use super::get_var_path;
use crate::utils::parser;
@ -22,7 +21,7 @@ pub fn delete(repo: &str, pkgname: &str) {
eprintln!("{} not installed in {}", pkgname, repo)
}
let subdirs = ["lib", "include", "bin"];
let subdirs = ["bin", "lib", "libexec", "include", "share"];
for subdir in &subdirs {
let dir_path = base_dir.join(subdir);
if dir_path.exists() {