Bug fixes

main
Graham Helton 2 years ago
parent ada1067a1a
commit 22064238d6

@ -124,7 +124,7 @@ install_apps(){
list_configs(){ list_configs(){
# Lists the config files found in ~/.config/autodeploy/*.conf # Lists the config files found in ~/.config/autodeploy/*.conf
echo -n $BLUE echo -n $BLUE
ls $CONFIG_PATH | grep "conf" ls $CONFIG_PATH | grep "_config$"
echo $ENDCOLOR echo $ENDCOLOR
} }
@ -255,7 +255,7 @@ new_client(){
distribute_files(){ distribute_files(){
# Places files defined in autodeploy_file.conf to the correct location in the file system # Places files defined in autodeploy_file.conf to the correct location in the file system
backup_old 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 # 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 . for f in .[!.]* *; do # <- for each file that does or does not start with a .

Loading…
Cancel
Save