diff options
Diffstat (limited to 'tools/init')
-rwxr-xr-x | tools/init/exit.sh | 2 | ||||
-rwxr-xr-x | tools/init/sync.sh | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/init/exit.sh b/tools/init/exit.sh index f24be47..c16bd3d 100755 --- a/tools/init/exit.sh +++ b/tools/init/exit.sh | |||
@@ -1,5 +1,5 @@ | |||
1 | #! /bin/env bash | 1 | #! /bin/env bash |
2 | 2 | ||
3 | if [[ `cat /etc/hostname` != 'vultr' ]]; then | 3 | if [[ `cat /etc/hostname` != 'vultr' ]]; then |
4 | rsync -a --delete ~/.thunderbird/ pham@topo.tw:~/.thunderbird/ & | 4 | rsync -a --delete ~/.thunderbird/ pham@topo.tw:~/.thunderbird & |
5 | fi | 5 | fi |
diff --git a/tools/init/sync.sh b/tools/init/sync.sh index 8f23dbe..50e07f9 100755 --- a/tools/init/sync.sh +++ b/tools/init/sync.sh | |||
@@ -15,4 +15,6 @@ check_upstream ~/git/tig || echo in `pwd` >/dev/tty & | |||
15 | check_upstream ~/.vim_runtime || echo in `pwd` >/dev/tty & | 15 | check_upstream ~/.vim_runtime || echo in `pwd` >/dev/tty & |
16 | 16 | ||
17 | # thunderbird | 17 | # thunderbird |
18 | rsync -a pham@topo.tw:~/.thunderbird/ ~/.thunderbird/ & | 18 | if [[ `cat /etc/hostname` != 'vultr' ]]; then |
19 | rsync -a pham@topo.tw:~/.thunderbird/ ~/.thunderbird & | ||
20 | fi | ||