bkp
This commit is contained in:
@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user