wip: cleaning up

This commit is contained in:
DarthMooMancer
2025-07-26 18:49:00 -04:00
parent 6b2a2dec80
commit d1bcedb901
11 changed files with 3 additions and 681 deletions
+2 -2
View File
@@ -29,10 +29,10 @@ for x in "${!COPY_DOTS[@]}"; do
i="${COPY_DOTS[${x}]}"
if [[ -d ${i} ]]; then
echo -e "${i} ${GREEN}exists: Removing${RESET}"
rm -rd "${i}"
doas rm -rd "${i}"
elif [[ -f ${i} ]]; then
echo -e "${i} ${GREEN}exists: Removing${RESET}"
rm -rf "${i}"
doas rm -rf "${i}"
else
echo -e "${i} ${YELLOW}does not exist: Skipping${RESET}"
fi