wip: cleaning up
This commit is contained in:
1 parent
2a3f593e5f
commit
e4a9adfb89
11 files changed
+3
-681
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user