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 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'local/bin/allsync') 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 -- cgit v1.2.3