diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-05-14 18:53:03 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-05-14 18:53:03 +0200 |
commit | 612dbb6993c8a548744f29a4d15d6b31325357c8 (patch) | |
tree | 0d61cee0ea74ac811268d0ffc00d3d55f7174112 /.bin/dot-sync | |
parent | 23e2bfd987c430bb41bc7860c46c2f572e9e2db4 (diff) | |
download | dots-trunk.tar.gz |
Diffstat (limited to '.bin/dot-sync')
-rwxr-xr-x | .bin/dot-sync | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.bin/dot-sync b/.bin/dot-sync index f12f878..f41b936 100755 --- a/.bin/dot-sync +++ b/.bin/dot-sync @@ -4,11 +4,11 @@ set -xe export GIT_SSH_COMMAND="ssh -o ConnectTimeout=1 -o ConnectionAttempts=1" -yadm stash -yadm pull --rebase -yadm stash pop +yadm stash || true +yadm pull --rebase || true +yadm stash pop || true -yadm add -u +yadm add -u || true yadm add \ "${HOME}/.bin" \ "${HOME}/.config/cmus/playlists" \ @@ -28,7 +28,8 @@ yadm add \ "${HOME}/.config/yadm" \ "${HOME}/.config/waybar" \ "${HOME}/.config/zk" \ - "${HOME}/.public-keys" + "${HOME}/.public-keys" \ + || true yadm push |