Z63KACBB5Y6RCH3LKJCSUL6A6HVYRWTZV3UCJ6GS6NWAAZDW6BNAC
if let Some((_, inst)) = installed
.mods
.iter_mut()
.find(|(n, _)| **n == pkg.package_name)
{
installed.mods.entry(pkg.package_name).and_modify(|inst| {
for (a, b) in inst.mods.iter().zip(pkg.mods.iter()) {
trace!("a mod: {:#?} | b mod: {:#?}", a, b);
if a.disabled() {
fs::remove_dir_all(&a.path).unwrap();
for (curr, new) in inst.mods.iter().zip(pkg.mods.iter()) {
trace!("current mod: {:#?} | new mod: {:#?}", curr, new);
if curr.disabled() {
fs::remove_dir_all(ctx.local_target.join(&curr.path)).unwrap();