aboutsummaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-06-27 10:04:06 +0200
committerKarel Kočí <cynerd@email.cz>2023-06-27 10:04:06 +0200
commit645645fb9ae8148750dd7acae808402e681f13e2 (patch)
tree428858914fec15dd196d3453a7f3666b2e731147 /local
parent56c863516fec20ca82bc3c832aa0f33e257d3650 (diff)
downloadmyconfigs-645645fb9ae8148750dd7acae808402e681f13e2.tar.gz
myconfigs-645645fb9ae8148750dd7acae808402e681f13e2.tar.bz2
myconfigs-645645fb9ae8148750dd7acae808402e681f13e2.zip
allsync: sync passwords before anything else
Diffstat (limited to 'local')
-rwxr-xr-xlocal/bin/allsync8
1 files changed, 4 insertions, 4 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