From 22064238d6d5d8c83c1ba0601af18324b001de01 Mon Sep 17 00:00:00 2001 From: Graham Helton Date: Mon, 17 Oct 2022 21:25:46 -0400 Subject: [PATCH] Bug fixes --- autodeploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autodeploy.sh b/autodeploy.sh index f3f84ea..fcdfae3 100755 --- a/autodeploy.sh +++ b/autodeploy.sh @@ -124,7 +124,7 @@ install_apps(){ list_configs(){ # Lists the config files found in ~/.config/autodeploy/*.conf echo -n $BLUE - ls $CONFIG_PATH | grep "conf" + ls $CONFIG_PATH | grep "_config$" echo $ENDCOLOR } @@ -255,7 +255,7 @@ new_client(){ distribute_files(){ # Places files defined in autodeploy_file.conf to the correct location in the file system backup_old - cd $CONFIG_PATH/$selected_config + cd $CONFIG_PATH""$selected_config # Need an odd for loop syntax because zsh handles file globs differently than bash for f in .[!.]* *; do # <- for each file that does or does not start with a .