mirror of
https://github.com/buildplan/du_setup.git
synced 2025-12-18 02:05:32 +00:00
formatting
This commit is contained in:
parent
901061e521
commit
37b358d875
@ -2681,6 +2681,7 @@ setup_backup() {
|
|||||||
while true; do
|
while true; do
|
||||||
print_info "Enter the full paths of directories to back up, separated by spaces."
|
print_info "Enter the full paths of directories to back up, separated by spaces."
|
||||||
read -rp "$(printf '%s' "${CYAN}Default is '/home/${USERNAME}/'. Press Enter for default or provide your own: ${NC}")" -a user_input_dirs
|
read -rp "$(printf '%s' "${CYAN}Default is '/home/${USERNAME}/'. Press Enter for default or provide your own: ${NC}")" -a user_input_dirs
|
||||||
|
|
||||||
if [ ${#user_input_dirs[@]} -eq 0 ]; then
|
if [ ${#user_input_dirs[@]} -eq 0 ]; then
|
||||||
BACKUP_DIRS_ARRAY=("/home/${USERNAME}/")
|
BACKUP_DIRS_ARRAY=("/home/${USERNAME}/")
|
||||||
break
|
break
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user