diff options
| author | srdusr <trevorgray@srdusr.com> | 2024-05-23 02:53:26 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2024-05-23 02:53:26 +0200 |
| commit | fd55f07534350063b9bab44b85bfde89ab03bf69 (patch) | |
| tree | fc047707bc361c555603c7123da27e23c05f3a3e /install.sh | |
| parent | 36cf5bf71d3515972c190702afd8c0eb1f2607cd (diff) | |
| download | dotfiles-fd55f07534350063b9bab44b85bfde89ab03bf69.tar.gz dotfiles-fd55f07534350063b9bab44b85bfde89ab03bf69.zip | |
Fixed formatting for user_dirs
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |
