From 612dbb6993c8a548744f29a4d15d6b31325357c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 14 May 2024 18:53:03 +0200 Subject: Tue May 14 06:53:03 PM CEST 2024 --- .bin/dot-sync | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to '.bin/dot-sync') 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 -- cgit v1.2.3