From 645645fb9ae8148750dd7acae808402e681f13e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 27 Jun 2023 10:04:06 +0200 Subject: allsync: sync passwords before anything else --- local/bin/allsync | 8 ++++---- private | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/local/bin/allsync b/local/bin/allsync index 5ba912a..e876f2d 100755 --- a/local/bin/allsync +++ b/local/bin/allsync @@ -109,6 +109,10 @@ fail() { } +sec "Passwords" +pass git pull || fail "Passwords pull failed" +pass git push || fail "Passwords push failed" + sec "Mail" i3_astroid --start-polling mbsync -a || fail "Mail synchronization reported failure" @@ -122,10 +126,6 @@ notify_i3block sec "Calendar and contacts" vdirsyncer sync || fail "Calendar and contacts synchronization reported failure" -sec "Passwords" -pass git pull || fail "Passwords pull failed" -pass git push || fail "Passwords push failed" - if [ "${AUTORUN:-n}" = "y" ]; then echo "Reported failure exit code: $ecode" >&2 else diff --git a/private b/private index b5bf16e..e729db2 160000 --- a/private +++ b/private @@ -1 +1 @@ -Subproject commit b5bf16ee72e8c90fb055b24ab097553fa242d242 +Subproject commit e729db2c170d840e6b2bff042015acd05c30011a -- cgit v1.2.3