From fd55f07534350063b9bab44b85bfde89ab03bf69 Mon Sep 17 00:00:00 2001 From: srdusr Date: Thu, 23 May 2024 02:53:26 +0200 Subject: Fixed formatting for user_dirs --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 57f2227..9d9ce76 100755 --- a/install.sh +++ b/install.sh @@ -422,12 +422,14 @@ user_dirs() { # Check if ~/.config/user-dirs.dirs exists config_dirs_file="$HOME/.config/user-dirs.dirs" if [ -f "$config_dirs_file" ]; then + echo "Config file $config_dirs_file exists. Proceeding..." + else echo "Error: Config file $config_dirs_file not found. Please check your configuration." exit 1 fi # Prompt the user if they want to change directory names - if prompt_user "Do you want to change the directory names to lowercase?\n"; then + if prompt_user "Do you want to change the directory names to lowercase?"; then # Function to change directory names from uppercase to lowercase change_dir_names() { local config_file="$HOME/.config/user-dirs.dirs" -- cgit v1.2.3