mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-02-22 16:05:54 +00:00
fixed logseq files sync failure
This commit is contained in:
parent
138e8c3c03
commit
a30d9cc7fc
2 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,7 @@ gh
|
|||
git
|
||||
iproute2
|
||||
jq
|
||||
make
|
||||
mdbook
|
||||
nodejs-lts
|
||||
openssh
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
cd ~/storage/shared/logseq
|
||||
git pull
|
||||
cd ~/logseq
|
||||
rsync -a ~/storage/shared/logseq/journals/ journals/
|
||||
rsync -a ~/storage/shared/logseq/pages/ pages/
|
||||
git add --all
|
||||
if git commit -m update; then
|
||||
git push
|
||||
rsync -a ./ ~/storage/shared/logseq/
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue