add done status for deleting/creating public/src dirs
This commit is contained in:
parent
97723e3f3e
commit
3012a295e3
4
manage
4
manage
@ -117,6 +117,8 @@ function check_dirs() {
|
||||
done
|
||||
if [ "$created_count" -gt 0 ]; then
|
||||
echo -e "${COLOR_GREEN}Done.${COLOR_RESET}"
|
||||
else
|
||||
echo -e "${COLOR_GREEN}Done.${COLOR_RESET}"
|
||||
fi
|
||||
|
||||
elif [ "$action" == "delete" ]; then
|
||||
@ -127,6 +129,8 @@ function check_dirs() {
|
||||
fi
|
||||
if [ "$deleted_count" -gt 0 ]; then
|
||||
echo -e "${COLOR_GREEN}Done.${COLOR_RESET}"
|
||||
else
|
||||
echo -e "${COLOR_GREEN}Done.${COLOR_RESET}"
|
||||
fi
|
||||
else
|
||||
echo -e "${COLOR_RED}Invalid action: $action. Use 'create' or 'delete'.${COLOR_RESET}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user