aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/init
diff options
context:
space:
mode:
Diffstat (limited to 'bin/init')
-rwxr-xr-xbin/init/sync.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/init/sync.sh b/bin/init/sync.sh
index a4c7542..c48a812 100755
--- a/bin/init/sync.sh
+++ b/bin/init/sync.sh
@@ -3,10 +3,6 @@
3# If git is working in other process, then don't sync again 3# If git is working in other process, then don't sync again
4pidof git >/dev/null && exit 0 4pidof git >/dev/null && exit 0
5 5
6# Print information about ~/.wakeup
7echo 'latest: ' $(date -d @`stat -c %Y ~/.wakeup` --iso-8601=seconds)
8echo 'wakeup at: ' $(cat ~/.wakeup | xargs -i date -d @{} --iso-8601=seconds)
9
10# Sync a repo 6# Sync a repo
11sync() { 7sync() {
12 cd "$1" || return 8 cd "$1" || return
@@ -31,8 +27,5 @@ while true; do
31 fi 27 fi
32done 28done
33 29
34touch ~/.wakeup
35
36
37# others repo 30# others repo
38#check_upstream ~/git/tig || echo in `pwd` >/dev/tty & 31#check_upstream ~/git/tig || echo in `pwd` >/dev/tty &