summaryrefslogtreecommitdiffstats
path: root/.bin/dot-sync
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-05-14 18:53:03 +0200
committerRomain Gonçalves <me@rgoncalves.se>2024-05-14 18:53:03 +0200
commit612dbb6993c8a548744f29a4d15d6b31325357c8 (patch)
tree0d61cee0ea74ac811268d0ffc00d3d55f7174112 /.bin/dot-sync
parent23e2bfd987c430bb41bc7860c46c2f572e9e2db4 (diff)
downloaddots-612dbb6993c8a548744f29a4d15d6b31325357c8.tar.gz
Tue May 14 06:53:03 PM CEST 2024HEADtrunk
Diffstat (limited to '.bin/dot-sync')
-rwxr-xr-x.bin/dot-sync11
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
remember that computers suck.