2 fossil_update = fossil update
8 ( GIT_CONFIG=$HOME/.git/config git config remote.origin.url ) | grep -q 'git://'
13 if [ "${host%@*}" != "${host#*@}" ]; then
14 if [ "$whoami" != "${host%@*}" ]; then
19 if [ "$hostname" = "$host" ]; then
27 ip route list | grep tun0 >/dev/null 2>&1
32 [ ! -e /var/run/mr/restriced ]
40 test "$whoami" = james && ! on dune thrain arrakis
46 git clone git://git.jamestechnotes.com/james/home/home.git
48 git clone ssh://git@git.jamestechnotes.com/james/home/home.git
51 # Dummy target to create Maildir. Doesn't run offlineimap as I have cron do that
55 checkout = mkdir Maildir Maildir/cur Maildir/new Maildir tmp; chmod 700 Maildir
60 fixups = $HOME/bin/fixups
61 checkout = mkdir -p $HOME/tmp
72 git clone git://git.jamestechnotes.com/james/home/etc.git .etc
74 git clone ssh://git@git.jamestechnotes.com/james/home/etc.git .etc
81 git clone git://git.jamestechnotes.com/james/home/cron.git .cron
83 git clone ssh://git@git.jamestechnotes.com/james/home/cron.git .cron
90 git clone git://git.jamestechnotes.com/james/home/etc.git .etc
92 git clone ssh://git@git.jamestechnotes.com/james/home/etc.git .etc
100 [ -f $HOME/.repos/local.fossil ] || fossil clone -A james http://james@jamestechnotes.com/repos.cgi/local $HOME/.repos/local.fossil
103 fossil open --nested $HOME/.repos/local.fossil
112 [ -f $HOME/.repos/src.fossil ] || fossil clone -A james http://james@jamestechnotes.com/repos.cgi/src $HOME/.repos/src.fossil
115 fossil open --nested $HOME/.repos/src.fossil
118 skip = lazy || ! ( onvpn || atwork ) && ! src01