Post crash
This commit is contained in:
parent
7ebbfb5186
commit
42d8503928
3 changed files with 40 additions and 22 deletions
|
@ -416,7 +416,11 @@ machines_n_help() { machines_network_help "$@"; }
|
|||
function machines_update-all {
|
||||
machines_machine_list | while read -r machine; do
|
||||
echo "Updating $machine..."
|
||||
ssh "$machine" 'cd .dotfiles && git pull; machines update' &
|
||||
if [ $machine = $(cat "$MACHINES_CONFIG/this.name") ]; then
|
||||
machines_update
|
||||
continue
|
||||
fi
|
||||
ssh -n "$machine" 'cd .dotfiles; git pull; ./config/scripts/machines update'
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue